From 391ee68e4a67aec640e25bc3506f9e31c77e58f5 Mon Sep 17 00:00:00 2001 From: Pitu Date: Sat, 12 Oct 2019 15:47:25 +0900 Subject: chore: Upgrade buefy to newest version --- src/site/pages/dashboard/settings.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/site/pages/dashboard/settings.vue') diff --git a/src/site/pages/dashboard/settings.vue b/src/site/pages/dashboard/settings.vue index 944c378..bc39b4f 100644 --- a/src/site/pages/dashboard/settings.vue +++ b/src/site/pages/dashboard/settings.vue @@ -147,14 +147,14 @@ export default { this.options = response.config; }, promptRestartService() { - this.$dialog.confirm({ + this.$buefy.dialog.confirm({ message: 'Keep in mind that restarting only works if you have PM2 or something similar set up. Continue?', onConfirm: () => this.restartService() }); }, async restartService() { const response = await this.$axios.$post(`service/restart`); - this.$toast.open(response.message); + this.$buefy.toast.open(response.message); } } }; -- cgit v1.2.3