diff options
author | Luke Bennett <lbennett@gitlab.com> | 2018-09-13 16:04:43 +0300 |
---|---|---|
committer | Luke Bennett <lbennett@gitlab.com> | 2018-09-24 13:41:29 +0300 |
commit | f8e74da72115bc8e9908385da9c46ae0e100e8e5 (patch) | |
tree | 8312d76a2f160a91a25c33be43eac49a1002cf18 /app/assets | |
parent | 769808732d5b3542726a5839d6a22da62fd9abeb (diff) |
Review changes
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/clusters/components/gcp_signup_offer.js | 2 | ||||
-rw-r--r-- | app/assets/javascripts/pages/root/index.js | 1 | ||||
-rw-r--r-- | app/assets/javascripts/persistent_user_callout.js | 2 |
3 files changed, 4 insertions, 1 deletions
diff --git a/app/assets/javascripts/clusters/components/gcp_signup_offer.js b/app/assets/javascripts/clusters/components/gcp_signup_offer.js index 38663bd4898..04b778c6be9 100644 --- a/app/assets/javascripts/clusters/components/gcp_signup_offer.js +++ b/app/assets/javascripts/clusters/components/gcp_signup_offer.js @@ -4,5 +4,5 @@ export default function gcpSignupOffer() { const alertEl = document.querySelector('.gcp-signup-offer'); if (!alertEl) return; - new PersistentUserCallout(alertEl).init(); + new PersistentUserCallout(alertEl); } diff --git a/app/assets/javascripts/pages/root/index.js b/app/assets/javascripts/pages/root/index.js new file mode 100644 index 00000000000..bb3e672a000 --- /dev/null +++ b/app/assets/javascripts/pages/root/index.js @@ -0,0 +1 @@ +import '../dashboard/projects/index'; diff --git a/app/assets/javascripts/persistent_user_callout.js b/app/assets/javascripts/persistent_user_callout.js index d136b3bfee9..1e34e74a152 100644 --- a/app/assets/javascripts/persistent_user_callout.js +++ b/app/assets/javascripts/persistent_user_callout.js @@ -8,6 +8,8 @@ export default class PersistentUserCallout { this.container = container; this.dismissEndpoint = dismissEndpoint; this.featureId = featureId; + + this.init(); } init() { |