diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-03-09 18:46:51 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-03-09 18:46:51 +0900 |
| commit | 75285315c51ecaecaa7e8f5ce9dbf8842559adba (patch) | |
| tree | 5eaf518418ac49c7e40f990fb6e5471972c4f08e /src/web | |
| parent | v4049 (diff) | |
| download | misskey-75285315c51ecaecaa7e8f5ce9dbf8842559adba.tar.gz misskey-75285315c51ecaecaa7e8f5ce9dbf8842559adba.tar.bz2 misskey-75285315c51ecaecaa7e8f5ce9dbf8842559adba.zip | |
Fix bug
Diffstat (limited to 'src/web')
| -rw-r--r-- | src/web/app/common/views/components/othello.room.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/app/common/views/components/othello.room.vue b/src/web/app/common/views/components/othello.room.vue index 0fcca85485..60fdb32a45 100644 --- a/src/web/app/common/views/components/othello.room.vue +++ b/src/web/app/common/views/components/othello.room.vue @@ -111,7 +111,7 @@ export default Vue.extend({ onUpdateSettings(settings) { this.game.settings = settings; - this.mapName = this.game.settings.map.name; + this.mapName = Object.entries(maps).find(x => x[1].data.join('') == this.game.settings.map.join(''))[1].name; }, onMapChange(v) { |