refactor: alerts + admin profile + user create dialog as Vue components

This commit is contained in:
NGPixel
2017-05-21 16:43:58 -04:00
parent c20c935fa5
commit 6814c952bf
15 changed files with 364 additions and 272 deletions

View File

@@ -7,9 +7,7 @@ import _ from 'lodash'
import Vue from 'vue'
module.exports = (alerts) => {
if ($('#page-type-admin-users').length) {
require('../modals/admin-users-create.js')(alerts)
} else if ($('#page-type-admin-users-edit').length) {
if ($('#page-type-admin-users-edit').length) {
let vueEditUser = new Vue({
el: '#page-type-admin-users-edit',
data: {