mirror of
https://github.com/romancm/gamebrary
synced 2024-11-27 21:50:24 +00:00
Auto save settings
This commit is contained in:
parent
58061053ee
commit
2cdf0d9465
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
||||||
<i class="fas fa-palette" />
|
<i class="fas fa-palette" />
|
||||||
<h5>Global theme</h5>
|
<h5>Global theme</h5>
|
||||||
|
|
||||||
<select v-model="value[platform.code].theme">
|
<select v-model="value[platform.code].theme" @change="$emit('save')">
|
||||||
<option
|
<option
|
||||||
v-for="{ id, name } in themes"
|
v-for="{ id, name } in themes"
|
||||||
:key="id"
|
:key="id"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
slot="content"
|
slot="content"
|
||||||
class="settings"
|
class="settings"
|
||||||
>
|
>
|
||||||
<game-board-settings v-model="localSettings" />
|
<game-board-settings v-model="localSettings" @save="save"/>
|
||||||
<tags-settings v-model="localSettings" />
|
<tags-settings v-model="localSettings" />
|
||||||
|
|
||||||
<div class="setting">
|
<div class="setting">
|
||||||
|
|
Loading…
Reference in a new issue