diff options
| author | Zephyrrus <[email protected]> | 2020-07-04 03:26:35 +0300 |
|---|---|---|
| committer | Zephyrrus <[email protected]> | 2020-07-04 03:26:35 +0300 |
| commit | 92be4504ccb8f6d918013e5c33870858cd22376a (patch) | |
| tree | c66a0980f9905118e02626b976f2084f5363cb4d /src/site/pages/dashboard/admin/file/_id.vue | |
| parent | chore: add nsfw flag to migration (diff) | |
| download | host.fuwn.me-92be4504ccb8f6d918013e5c33870858cd22376a.tar.xz host.fuwn.me-92be4504ccb8f6d918013e5c33870858cd22376a.zip | |
feat: refactor most of the album components to use store for presentation and actions
Diffstat (limited to 'src/site/pages/dashboard/admin/file/_id.vue')
| -rw-r--r-- | src/site/pages/dashboard/admin/file/_id.vue | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/site/pages/dashboard/admin/file/_id.vue b/src/site/pages/dashboard/admin/file/_id.vue index 5821292..5853770 100644 --- a/src/site/pages/dashboard/admin/file/_id.vue +++ b/src/site/pages/dashboard/admin/file/_id.vue @@ -130,6 +130,7 @@ export default { methods: { promptDisableUser() { 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() }); @@ -142,6 +143,7 @@ export default { }, promptBanIP() { 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() }); |