Auto save settings

This commit is contained in:
Roman Cervantes 2019-12-02 11:49:34 -07:00
parent 58061053ee
commit 2cdf0d9465
2 changed files with 2 additions and 2 deletions

View file

@ -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"

View file

@ -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">