commit: 7ae0d6b95dd26d6c4010ecda2720e24111889294
parent c81948620fbcc9728d72e6f4758c4e31030f6085
Author: Henry Jameson <me@hjkos.com>
Date: Mon, 25 Nov 2024 20:07:25 +0200
fix reset not resetting
Diffstat:
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/components/settings_modal/tabs/style_tab/style_tab.js b/src/components/settings_modal/tabs/style_tab/style_tab.js
@@ -661,6 +661,10 @@ export default {
].join('\n\n')
})
+ exports.clearStyle = () => {
+ onImport(store.state.interface.styleDataUsed)
+ }
+
exports.exportStyle = () => {
styleExporter.exportData()
}
diff --git a/src/components/settings_modal/tabs/style_tab/style_tab.vue b/src/components/settings_modal/tabs/style_tab/style_tab.vue
@@ -21,7 +21,7 @@
<div class="style-actions">
<button
class="btn button-default button-new"
- @click="clearTheme"
+ @click="clearStyle"
>
<FAIcon icon="arrows-rotate" />
{{ $t('settings.style.themes3.editor.reset_style') }}