diff options
Diffstat (limited to 'app/assets/javascripts/pages/groups/new/index.js')
-rw-r--r-- | app/assets/javascripts/pages/groups/new/index.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/assets/javascripts/pages/groups/new/index.js b/app/assets/javascripts/pages/groups/new/index.js index 702b152d25a..7c409010510 100644 --- a/app/assets/javascripts/pages/groups/new/index.js +++ b/app/assets/javascripts/pages/groups/new/index.js @@ -2,18 +2,19 @@ import Vue from 'vue'; import BindInOut from '~/behaviors/bind_in_out'; import initFilePickers from '~/file_pickers'; import Group from '~/group'; +import { initGroupNameAndPath } from '~/groups/create_edit_form'; import { parseBoolean } from '~/lib/utils/common_utils'; import NewGroupCreationApp from './components/app.vue'; import GroupPathValidator from './group_path_validator'; import initToggleInviteMembers from './toggle_invite_members'; new GroupPathValidator(); // eslint-disable-line no-new +new Group(); // eslint-disable-line no-new +initGroupNameAndPath(); BindInOut.initAll(); initFilePickers(); -new Group(); // eslint-disable-line no-new - function initNewGroupCreation(el) { const { hasErrors, verificationRequired, verificationFormUrl, subscriptionsUrl } = el.dataset; |