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/file | |
| 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/file')
| -rw-r--r-- | src/site/pages/dashboard/admin/file/_id.vue | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/site/pages/dashboard/admin/file/_id.vue b/src/site/pages/dashboard/admin/file/_id.vue index 89afa47..d54bf54 100644 --- a/src/site/pages/dashboard/admin/file/_id.vue +++ b/src/site/pages/dashboard/admin/file/_id.vue @@ -127,7 +127,7 @@ import Sidebar from '~/components/sidebar/Sidebar.vue'; export default { components: { - Sidebar, + Sidebar }, middleware: ['auth', 'admin', ({ route, store }) => { try { @@ -143,7 +143,7 @@ export default { this.$buefy.dialog.confirm({ type: 'is-danger', message: 'Are you sure you want to disable the account of the user that uploaded this file?', - onConfirm: () => this.disableUser(), + onConfirm: () => this.disableUser() }); }, disableUser() { @@ -153,7 +153,7 @@ export default { this.$buefy.dialog.confirm({ type: 'is-danger', message: 'Are you sure you want to ban the IP this file was uploaded from?', - onConfirm: () => this.banIP(), + onConfirm: () => this.banIP() }); }, banIP() { @@ -169,7 +169,7 @@ export default { const i = Math.floor(Math.log(bytes) / Math.log(k)); return `${parseFloat((bytes / k ** i).toFixed(dm))} ${sizes[i]}`; - }, - }, + } + } }; </script> |