diff options
author | Mike Greiling <mike@pixelcog.com> | 2018-02-16 22:08:05 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2018-02-16 22:08:05 +0300 |
commit | b63674e2c677bdbfc40b89d06af86771a807f6d1 (patch) | |
tree | 8f66e5ff3afb013dcac3dd4848a7e237f400372e /app/assets/javascripts/pages/admin/users | |
parent | dc9b2a8fb2a282aefa946246b0fbaf15562fb4a5 (diff) |
migrate admin:users:* to static bundle
Diffstat (limited to 'app/assets/javascripts/pages/admin/users')
-rw-r--r-- | app/assets/javascripts/pages/admin/users/components/delete_user_modal.vue (renamed from app/assets/javascripts/pages/admin/users/shared/components/delete_user_modal.vue) | 0 | ||||
-rw-r--r-- | app/assets/javascripts/pages/admin/users/index.js (renamed from app/assets/javascripts/pages/admin/users/shared/index.js) | 4 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/pages/admin/users/shared/components/delete_user_modal.vue b/app/assets/javascripts/pages/admin/users/components/delete_user_modal.vue index 7b5e333011e..7b5e333011e 100644 --- a/app/assets/javascripts/pages/admin/users/shared/components/delete_user_modal.vue +++ b/app/assets/javascripts/pages/admin/users/components/delete_user_modal.vue diff --git a/app/assets/javascripts/pages/admin/users/shared/index.js b/app/assets/javascripts/pages/admin/users/index.js index d2a0f82fa2b..4f5d6b55031 100644 --- a/app/assets/javascripts/pages/admin/users/shared/index.js +++ b/app/assets/javascripts/pages/admin/users/index.js @@ -5,7 +5,7 @@ import csrf from '~/lib/utils/csrf'; import deleteUserModal from './components/delete_user_modal.vue'; -export default () => { +document.addEventListener('DOMContentLoaded', () => { Vue.use(Translate); const deleteUserModalEl = document.getElementById('delete-user-modal'); @@ -40,4 +40,4 @@ export default () => { deleteModal.username = buttonProps.username; } }); -}; +}); |