diff options
author | Simon Knox <psimyn@gmail.com> | 2018-01-23 16:42:42 +1100 |
---|---|---|
committer | Simon Knox <psimyn@gmail.com> | 2018-01-23 16:42:42 +1100 |
commit | d56b2ba2c7e219042d948d968974fdd67a1e0c6d (patch) | |
tree | bbdea67154c10daeece9252bea18b3b3c77cc3ab | |
parent | 43538018261a5d1cccefecae895fad9e74adb1db (diff) | |
download | gitlab-ce-d56b2ba2c7e219042d948d968974fdd67a1e0c6d.tar.gz |
consistent function exports for Labels edit/new pagesdispatcher-new
-rw-r--r-- | app/assets/javascripts/pages/groups/activity/index.js | 2 | ||||
-rw-r--r-- | app/assets/javascripts/pages/groups/labels/edit/index.js | 2 | ||||
-rw-r--r-- | app/assets/javascripts/pages/groups/labels/new/index.js | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/pages/groups/activity/index.js b/app/assets/javascripts/pages/groups/activity/index.js index a3bd1b0f3e2..95faf1f1e98 100644 --- a/app/assets/javascripts/pages/groups/activity/index.js +++ b/app/assets/javascripts/pages/groups/activity/index.js @@ -1,3 +1,3 @@ import Activities from '~/activities'; -export default new Activities(); +export default () => new Activities(); diff --git a/app/assets/javascripts/pages/groups/labels/edit/index.js b/app/assets/javascripts/pages/groups/labels/edit/index.js index 8ff4b044ac7..72c5e4744ac 100644 --- a/app/assets/javascripts/pages/groups/labels/edit/index.js +++ b/app/assets/javascripts/pages/groups/labels/edit/index.js @@ -1,3 +1,3 @@ import Labels from '~/labels'; -export default new Labels(); +export default () => new Labels(); diff --git a/app/assets/javascripts/pages/groups/labels/new/index.js b/app/assets/javascripts/pages/groups/labels/new/index.js index 8ff4b044ac7..72c5e4744ac 100644 --- a/app/assets/javascripts/pages/groups/labels/new/index.js +++ b/app/assets/javascripts/pages/groups/labels/new/index.js @@ -1,3 +1,3 @@ import Labels from '~/labels'; -export default new Labels(); +export default () => new Labels(); |