Page MenuHomePhorge

No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None
diff --git a/src/components/settings_modal/tabs/style_tab/style_tab.js b/src/components/settings_modal/tabs/style_tab/style_tab.js
index bcf15665..722670ea 100644
--- 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
index eabbb582..68a0193f 100644
--- 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') }}

File Metadata

Mime Type
text/x-diff
Expires
Wed, Nov 27, 12:39 PM (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40632
Default Alt Text
(1 KB)

Event Timeline