diff options
Diffstat (limited to 'app/assets/javascripts/registry/settings/registry_settings_bundle.js')
-rw-r--r-- | app/assets/javascripts/registry/settings/registry_settings_bundle.js | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/app/assets/javascripts/registry/settings/registry_settings_bundle.js b/app/assets/javascripts/registry/settings/registry_settings_bundle.js deleted file mode 100644 index 65af6f846aa..00000000000 --- a/app/assets/javascripts/registry/settings/registry_settings_bundle.js +++ /dev/null @@ -1,40 +0,0 @@ -import { GlToast } from '@gitlab/ui'; -import Vue from 'vue'; -import { parseBoolean } from '~/lib/utils/common_utils'; -import Translate from '~/vue_shared/translate'; -import RegistrySettingsApp from './components/registry_settings_app.vue'; -import { apolloProvider } from './graphql/index'; - -Vue.use(GlToast); -Vue.use(Translate); - -export default () => { - const el = document.getElementById('js-registry-settings'); - if (!el) { - return null; - } - const { - isAdmin, - enableHistoricEntries, - projectPath, - adminSettingsPath, - tagsRegexHelpPagePath, - } = el.dataset; - return new Vue({ - el, - apolloProvider, - components: { - RegistrySettingsApp, - }, - provide: { - isAdmin: parseBoolean(isAdmin), - enableHistoricEntries: parseBoolean(enableHistoricEntries), - projectPath, - adminSettingsPath, - tagsRegexHelpPagePath, - }, - render(createElement) { - return createElement('registry-settings-app', {}); - }, - }); -}; |