fix reset not resetting
This commit is contained in:
parent
c81948620f
commit
7ae0d6b95d
|
@ -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()
|
||||||
}
|
}
|
||||||
|
|
|
@ -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') }}
|
||||||
|
|
Loading…
Reference in a new issue