Commit c2c158fb authored by Kushal Pandya's avatar Kushal Pandya

Merge branch...

Merge branch '301221-investigate-why-we-we-re-not-capturing-event-data-for-the-invite-colleagues-banner' into 'master'

Resolve invite member banner display event issues

See merge request gitlab-org/gitlab!54375
parents 6b7336ac 051a4320
...@@ -35,7 +35,9 @@ export default { ...@@ -35,7 +35,9 @@ export default {
this.track(this.$options.dismissEvent); this.track(this.$options.dismissEvent);
}, },
trackOnShow() { trackOnShow() {
this.$nextTick(() => {
if (!this.isDismissed) this.track(this.$options.displayEvent); if (!this.isDismissed) this.track(this.$options.displayEvent);
});
}, },
addTrackingAttributesToButton() { addTrackingAttributesToButton() {
if (this.$refs.banner === undefined) return; if (this.$refs.banner === undefined) return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment