diff options
| author | MeiMei <30769358+mei23@users.noreply.github.com> | 2018-12-13 13:40:10 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2018-12-13 13:40:10 +0900 |
| commit | 8bd17703c3697fbcc3b2d58ba0752bc9c568d59d (patch) | |
| tree | c3c138a0b89aed189857d9b2964d77850eb59433 /src | |
| parent | ていねい (#3608) (diff) | |
| download | sharkey-8bd17703c3697fbcc3b2d58ba0752bc9c568d59d.tar.gz sharkey-8bd17703c3697fbcc3b2d58ba0752bc9c568d59d.tar.bz2 sharkey-8bd17703c3697fbcc3b2d58ba0752bc9c568d59d.zip | |
Fix reversi settings bot switch (#3609)
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/app/common/views/components/games/reversi/reversi.room.vue | 2 | ||||
| -rw-r--r-- | src/docs/reversi-bot.ja-JP.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/client/app/common/views/components/games/reversi/reversi.room.vue b/src/client/app/common/views/components/games/reversi/reversi.room.vue index fdbdf9b9e5..d5d148790c 100644 --- a/src/client/app/common/views/components/games/reversi/reversi.room.vue +++ b/src/client/app/common/views/components/games/reversi/reversi.room.vue @@ -60,7 +60,7 @@ <div> <template v-for="item in form"> - <ui-switch v-if="item.type == 'switch'" v-model="item.value" :key="item.id" :text="item.label" @change="onChangeForm(item)">{{ item.desc || '' }}</ui-switch> + <ui-switch v-if="item.type == 'switch'" v-model="item.value" :key="item.id" @change="onChangeForm(item)">{{ item.label || item.desc || '' }}</ui-switch> <div class="card" v-if="item.type == 'radio'" :key="item.id"> <header> diff --git a/src/docs/reversi-bot.ja-JP.md b/src/docs/reversi-bot.ja-JP.md index 98b543ca6c..a389ead571 100644 --- a/src/docs/reversi-bot.ja-JP.md +++ b/src/docs/reversi-bot.ja-JP.md @@ -124,7 +124,7 @@ type: `switch` スイッチを表示します。何かの機能をオン/オフさせたい場合に有用です。 ##### プロパティ -`desc` ... スイッチの詳細な説明。 +`label` ... スイッチに表記するテキスト。 #### ラジオボタン type: `radio` |