aboutsummaryrefslogtreecommitdiff
path: root/src/site/pages/dashboard/admin/user
diff options
context:
space:
mode:
authorZephyrrus <[email protected]>2020-12-24 10:40:50 +0200
committerZephyrrus <[email protected]>2020-12-24 10:40:50 +0200
commit90001c2df56d58e69fd199a518ae7f3e4ed327fc (patch)
treeac601537b5f464a1b03b084e5139e460f42e3473 /src/site/pages/dashboard/admin/user
parentchore: update lock files (diff)
downloadhost.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.vue14
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>