aboutsummaryrefslogtreecommitdiff
path: root/src/site/pages/dashboard/admin/file/_id.vue
diff options
context:
space:
mode:
authorZephyrrus <[email protected]>2020-07-04 03:26:35 +0300
committerZephyrrus <[email protected]>2020-07-04 03:26:35 +0300
commit92be4504ccb8f6d918013e5c33870858cd22376a (patch)
treec66a0980f9905118e02626b976f2084f5363cb4d /src/site/pages/dashboard/admin/file/_id.vue
parentchore: add nsfw flag to migration (diff)
downloadhost.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.vue2
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()
});