diff options
| author | Pitu <[email protected]> | 2019-10-12 15:47:25 +0900 |
|---|---|---|
| committer | Pitu <[email protected]> | 2019-10-12 15:47:25 +0900 |
| commit | 391ee68e4a67aec640e25bc3506f9e31c77e58f5 (patch) | |
| tree | 79a73f30997dfe7bc2b355eb3421e13b81d49dd2 /src/site/pages/dashboard/account.vue | |
| parent | chore: remove exif strip support. (diff) | |
| download | host.fuwn.me-391ee68e4a67aec640e25bc3506f9e31c77e58f5.tar.xz host.fuwn.me-391ee68e4a67aec640e25bc3506f9e31c77e58f5.zip | |
chore: Upgrade buefy to newest version
Diffstat (limited to 'src/site/pages/dashboard/account.vue')
| -rw-r--r-- | src/site/pages/dashboard/account.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/site/pages/dashboard/account.vue b/src/site/pages/dashboard/account.vue index 3aa103f..8955844 100644 --- a/src/site/pages/dashboard/account.vue +++ b/src/site/pages/dashboard/account.vue @@ -132,10 +132,10 @@ export default { password: this.user.password, newPassword: this.user.newPassword }); - this.$toast.open(response.message); + this.$buefy.toast.open(response.message); }, promptNewAPIKey() { - this.$dialog.confirm({ + this.$buefy.dialog.confirm({ type: 'is-danger', message: 'Are you sure you want to regenerate your API key? Previously generated API keys will stop working. Make sure to write the new key down as this is the only time it will be displayed to you.', onConfirm: () => this.requestNewAPIKey() @@ -145,7 +145,7 @@ export default { const response = await this.$axios.$post(`user/apikey/change`); this.user.apiKey = response.apiKey; this.$forceUpdate(); - this.$toast.open(response.message); + this.$buefy.toast.open(response.message); } } }; |