[Client] Bug fix and clean up

This commit is contained in:
syuilo
2018-12-16 16:12:41 +09:00
parent d5871b408b
commit e7da505fb3
5 changed files with 7 additions and 22 deletions

View File

@ -33,7 +33,7 @@
<section>
<ui-switch v-model="games_reversi_showBoardLabels">{{ $t('@.show-reversi-board-labels') }}</ui-switch>
<ui-switch v-model="games_reversi_useContrastStones">{{ $t('@.use-contrast-reversi-stones') }}</ui-switch>
<ui-switch v-model="games_reversi_useWhiteBlackStones">{{ $t('@.use-white-black-reversi-stones') }}</ui-switch>
</section>
<section>
@ -287,9 +287,9 @@ export default Vue.extend({
set(value) { this.$store.dispatch('settings/set', { key: 'games.reversi.showBoardLabels', value }); }
},
games_reversi_useContrastStones: {
get() { return this.$store.state.settings.games.reversi.useContrastStones; },
set(value) { this.$store.dispatch('settings/set', { key: 'games.reversi.useContrastStones', value }); }
games_reversi_useWhiteBlackStones: {
get() { return this.$store.state.settings.games.reversi.useWhiteBlackStones; },
set(value) { this.$store.dispatch('settings/set', { key: 'games.reversi.useWhiteBlackStones', value }); }
},
disableAnimatedMfm: {