From a1e8fae104ae9044dda359c6cddbc8e89ca2abfe Mon Sep 17 00:00:00 2001 From: CzBiX Date: Mon, 20 Jul 2020 19:15:21 +0800 Subject: [PATCH] Minor style fix --- src/Api.ts | 2 +- src/components/drawer/DrawerFooter.vue | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Api.ts b/src/Api.ts index a11466c..cd030c3 100644 --- a/src/Api.ts +++ b/src/Api.ts @@ -39,7 +39,7 @@ class Api { } public shutdownApplication() { - return this.axios.get('/app/shutdown'); + return this.axios.post('/app/shutdown'); } public getMainData(rid?: number) { diff --git a/src/components/drawer/DrawerFooter.vue b/src/components/drawer/DrawerFooter.vue index 83b3f51..4c8bdd0 100644 --- a/src/components/drawer/DrawerFooter.vue +++ b/src/components/drawer/DrawerFooter.vue @@ -59,8 +59,9 @@ - mdi-power-plug-off + :title="$t('trigger_application_shutdown')" + > + mdi-power-plug-off