From 5bdd0112a9d209b70d579f8b5546d8255398594c Mon Sep 17 00:00:00 2001 From: 07akioni <07akioni2@gmail.com> Date: Thu, 1 Apr 2021 18:31:22 +0800 Subject: [PATCH] fix(theme-editor): imported theme is flushed after change --- src/theme-editor/src/ThemeEditor.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/theme-editor/src/ThemeEditor.tsx b/src/theme-editor/src/ThemeEditor.tsx index ea5f5a363..b46178b5b 100644 --- a/src/theme-editor/src/ThemeEditor.tsx +++ b/src/theme-editor/src/ThemeEditor.tsx @@ -152,6 +152,7 @@ export default defineComponent({ .text() .then((value) => { overridesRef.value = JSON.parse(value) + tempOverridesRef.value = JSON.parse(value) }) .catch((e) => { alert('Imported File is Invalid')