fix v2 themes lacking toggle state
This commit is contained in:
parent
758fc48156
commit
fe35147649
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@
|
|||
:key="style.key"
|
||||
:data-theme-key="style.key"
|
||||
class="button-default theme-preview"
|
||||
:class="{ toggled: isStyleActive(style.key), disabled: switchInProgress }"
|
||||
:class="{ toggled: isThemeActive(style.key), disabled: switchInProgress }"
|
||||
@click="style.version === 'v2' ? setTheme(style.key) : setStyle(style.key)"
|
||||
:disabled="switchInProgress"
|
||||
>
|
||||
|
|
Loading…
Add table
Reference in a new issue