fix reset not resetting

This commit is contained in:
Henry Jameson 2024-11-25 20:07:25 +02:00
parent c81948620f
commit 7ae0d6b95d
2 changed files with 5 additions and 1 deletions

View file

@ -661,6 +661,10 @@ export default {
].join('\n\n') ].join('\n\n')
}) })
exports.clearStyle = () => {
onImport(store.state.interface.styleDataUsed)
}
exports.exportStyle = () => { exports.exportStyle = () => {
styleExporter.exportData() styleExporter.exportData()
} }

View file

@ -21,7 +21,7 @@
<div class="style-actions"> <div class="style-actions">
<button <button
class="btn button-default button-new" class="btn button-default button-new"
@click="clearTheme" @click="clearStyle"
> >
<FAIcon icon="arrows-rotate" /> <FAIcon icon="arrows-rotate" />
{{ $t('settings.style.themes3.editor.reset_style') }} {{ $t('settings.style.themes3.editor.reset_style') }}