From b0614f2eabf63cefb68c90286dcddfa88e505f2e Mon Sep 17 00:00:00 2001 From: UKDTOM Date: Mon, 10 Aug 2020 18:11:02 +0200 Subject: [PATCH 1/2] Now awaits when fetching translators --- src/components/Language.vue | 1 + src/components/layout/Menu.vue | 11 ++++------- src/components/modules/ExportTools/Export.vue | 2 +- src/store/modules/poeditor.js | 4 ++-- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/components/Language.vue b/src/components/Language.vue index 30461a7..6c545ee 100644 --- a/src/components/Language.vue +++ b/src/components/Language.vue @@ -10,6 +10,7 @@ +

{{ $t("Common.Language.btnForce") }}
diff --git a/src/components/layout/Menu.vue b/src/components/layout/Menu.vue index be64cb4..b1fcb82 100644 --- a/src/components/layout/Menu.vue +++ b/src/components/layout/Menu.vue @@ -55,17 +55,14 @@ import i18n from '../../i18n' { href: { path: '/' }, title: 'Theme', - icon: 'fas fa-palette' + icon: 'fas fa-palette', + hidden: true }, { href: { path: '/' }, title: 'Factory Reset', - icon: 'fas fa-power-off' - }, - { - href: { path: '/' }, - title: 'Logout', - icon: 'fas fa-sign-out-alt' + icon: 'fas fa-power-off', + hidden: true } ], collapsed: false, diff --git a/src/components/modules/ExportTools/Export.vue b/src/components/modules/ExportTools/Export.vue index 713d58c..3e82e40 100644 --- a/src/components/modules/ExportTools/Export.vue +++ b/src/components/modules/ExportTools/Export.vue @@ -50,7 +50,6 @@ -

{{ $t("Modules.ET.HExportMedia") }}
diff --git a/src/store/modules/poeditor.js b/src/store/modules/poeditor.js index 4db0475..8e40515 100644 --- a/src/store/modules/poeditor.js +++ b/src/store/modules/poeditor.js @@ -31,11 +31,11 @@ const mutations = { const qs = require('querystring') const actions = { - fetchPOEContrib({ commit }) { + async fetchPOEContrib({ commit }) { const config = { headers: headers } - axios.post( baseUrl + 'contributors/list', qs.stringify(requestBody), config) + await axios.post( baseUrl + 'contributors/list', qs.stringify(requestBody), config) .then((response) => { commit('UPDATE_CONTRIBUTORS', response.data.result.contributors) }) From fa521de2ea8aed2334cbaecf4d6ba29c106720fb Mon Sep 17 00:00:00 2001 From: UKDTOM Date: Mon, 10 Aug 2020 18:29:35 +0200 Subject: [PATCH 2/2] Caspers changes are back ;) --- src/components/About.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/About.vue b/src/components/About.vue index 2207835..554bc5f 100644 --- a/src/components/About.vue +++ b/src/components/About.vue @@ -7,8 +7,10 @@

{{ $t("Modules.About.TranslationBetaTestersTitle") }}

{{ $t("Modules.About.TranslationBetaTestersText") }}

-
-

{{ po.name }} {{po.permissions[0].languages}}

+ +
+ {{ po.name }} {{po.permissions[0].languages}},

{{ $t("Modules.About.PlexPoCredits") }}