fix theme selection not working

This commit is contained in:
Henry Jameson 2021-06-07 23:48:46 +03:00
parent 2725a0c639
commit 59d046b163
2 changed files with 25 additions and 13 deletions

View file

@ -63,7 +63,7 @@
<option
v-for="style in availableStyles"
:key="style.name"
:value="style"
:value="style.name || style[0]"
:style="{
backgroundColor: style[1] || (style.theme || style.source).colors.bg,
color: style[3] || (style.theme || style.source).colors.text