diff options
author | Jacques Erasmus <jerasmus@gitlab.com> | 2019-07-25 17:38:06 +0000 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2019-07-25 17:38:06 +0000 |
commit | f0b2ef0b5fc4600c2a941a9b506873bc9dd80594 (patch) | |
tree | 7d4a8f5e11e834775e296a2e7df1d7768308f76a /app/assets/javascripts/pages | |
parent | 9eea3623fa9d59d76f08250947b876abeff89810 (diff) | |
download | gitlab-ce-f0b2ef0b5fc4600c2a941a9b506873bc9dd80594.tar.gz |
Update namespace label text for managed clusters
Added the ability to update the namespace label text for gitlab-managed
Diffstat (limited to 'app/assets/javascripts/pages')
-rw-r--r-- | app/assets/javascripts/pages/projects/clusters/show/index.js | 2 | ||||
-rw-r--r-- | app/assets/javascripts/pages/projects/index.js | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/app/assets/javascripts/pages/projects/clusters/show/index.js b/app/assets/javascripts/pages/projects/clusters/show/index.js index 8001d2dd1da..f091c01fc98 100644 --- a/app/assets/javascripts/pages/projects/clusters/show/index.js +++ b/app/assets/javascripts/pages/projects/clusters/show/index.js @@ -1,5 +1,7 @@ import ClustersBundle from '~/clusters/clusters_bundle'; +import initGkeNamespace from '~/projects/gke_cluster_namespace'; document.addEventListener('DOMContentLoaded', () => { new ClustersBundle(); // eslint-disable-line no-new + initGkeNamespace(); }); diff --git a/app/assets/javascripts/pages/projects/index.js b/app/assets/javascripts/pages/projects/index.js index d4bd02c14e9..55c377ebec0 100644 --- a/app/assets/javascripts/pages/projects/index.js +++ b/app/assets/javascripts/pages/projects/index.js @@ -1,4 +1,5 @@ import initGkeDropdowns from '~/projects/gke_cluster_dropdowns'; +import initGkeNamespace from '~/projects/gke_cluster_namespace'; import PersistentUserCallout from '../../persistent_user_callout'; import Project from './project'; import ShortcutsNavigation from '../../behaviors/shortcuts/shortcuts_navigation'; @@ -16,6 +17,7 @@ document.addEventListener('DOMContentLoaded', () => { PersistentUserCallout.factory(callout); initGkeDropdowns(); + initGkeNamespace(); } new Project(); // eslint-disable-line no-new |