diff options
| author | Zephyrrus <[email protected]> | 2020-12-24 10:40:50 +0200 |
|---|---|---|
| committer | Zephyrrus <[email protected]> | 2020-12-24 10:40:50 +0200 |
| commit | 90001c2df56d58e69fd199a518ae7f3e4ed327fc (patch) | |
| tree | ac601537b5f464a1b03b084e5139e460f42e3473 /src/site/pages/dashboard/admin/user | |
| parent | chore: update lock files (diff) | |
| download | host.fuwn.me-90001c2df56d58e69fd199a518ae7f3e4ed327fc.tar.xz host.fuwn.me-90001c2df56d58e69fd199a518ae7f3e4ed327fc.zip | |
chore: remove trailing commas
Diffstat (limited to 'src/site/pages/dashboard/admin/user')
| -rw-r--r-- | src/site/pages/dashboard/admin/user/_id.vue | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/site/pages/dashboard/admin/user/_id.vue b/src/site/pages/dashboard/admin/user/_id.vue index 7814468..484d986 100644 --- a/src/site/pages/dashboard/admin/user/_id.vue +++ b/src/site/pages/dashboard/admin/user/_id.vue @@ -76,7 +76,7 @@ import Grid from '~/components/grid/Grid.vue'; export default { components: { Sidebar, - Grid, + Grid }, middleware: ['auth', 'admin', ({ route, store }) => { try { @@ -88,25 +88,25 @@ export default { }], data() { return { - options: {}, + options: {} }; }, computed: mapState({ - user: (state) => state.admin.user, + user: (state) => state.admin.user }), methods: { promptDisableUser() { this.$buefy.dialog.confirm({ type: 'is-danger', message: 'Are you sure you want to disable the account of this user?', - onConfirm: () => this.disableUser(), + onConfirm: () => this.disableUser() }); }, promptEnableUser() { this.$buefy.dialog.confirm({ type: 'is-danger', message: 'Are you sure you want to enable the account of this user?', - onConfirm: () => this.enableUser(), + onConfirm: () => this.enableUser() }); }, disableUser() { @@ -114,7 +114,7 @@ export default { }, enableUser() { this.$handler.executeAction('admin/enableUser', this.user.id); - }, - }, + } + } }; </script> |