From ecefbac4ec269e45444777aa93bf2ff37695e2b9 Mon Sep 17 00:00:00 2001 From: sadposter Date: Wed, 19 Jan 2022 23:02:06 +0000 Subject: [PATCH] fix theme tab --- src/components/settings_modal/tabs/theme_tab/theme_tab.js | 3 --- src/components/settings_modal/tabs/theme_tab/theme_tab.vue | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/settings_modal/tabs/theme_tab/theme_tab.js b/src/components/settings_modal/tabs/theme_tab/theme_tab.js index 0f3496c5..0b6669fc 100644 --- a/src/components/settings_modal/tabs/theme_tab/theme_tab.js +++ b/src/components/settings_modal/tabs/theme_tab/theme_tab.js @@ -757,9 +757,6 @@ export default { }, selectedTheme () { this.dismissWarning() - if (Object.prototype.toString.call(this.selected) === '[object String]') { - this.selected = JSON.parse(this.selected) - } if (this.selectedVersion === 1) { if (!this.keepRoundness) { this.clearRoundness() diff --git a/src/components/settings_modal/tabs/theme_tab/theme_tab.vue b/src/components/settings_modal/tabs/theme_tab/theme_tab.vue index e86e1142..c02986ed 100644 --- a/src/components/settings_modal/tabs/theme_tab/theme_tab.vue +++ b/src/components/settings_modal/tabs/theme_tab/theme_tab.vue @@ -63,7 +63,7 @@