Update page load to use watcher
The page load is currently going to be fired several times when the security training urls are loading.
Let's change the logic so it's only fired once. Here's a sample code how we can fix this:
created() {
// this.$watch('hasSecurityTrainingUrls')
const unwatchConfigChance = this.$watch('hasTouchedConfiguration', () => {
this.dismissFeaturePromotionCallout(); // start TRACK
unwatchConfigChance();
});
},
Edited by Samantha Ming