Skip to content

Commit

Permalink
clock: use same roomId
Browse files Browse the repository at this point in the history
  • Loading branch information
myokoym committed May 26, 2020
1 parent 9412bc0 commit 8146d3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/Shogiboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
>成る/駒反転(右クリックでも可)</button>
</div>
<div v-if="showClock" class="my-2 embed-responsive embed-responsive-21by9">
<iframe class="embed-responsive-item" src="https://webchessclock.herokuapp.com/"></iframe>
<iframe class="embed-responsive-item" v-bind:src="'https://webchessclock.herokuapp.com/rooms/' + roomId"></iframe>
</div>
<div class="m-1 d-flex justify-content-between align-items-center">
<button
Expand Down Expand Up @@ -124,6 +124,7 @@ export default Vue.extend({
return this.$store.getters["sfen/reversedSfen"]
},
...mapState("sfen", {
roomId: "roomId",
text: "text",
reversed: "reversed",
rows: "rows",
Expand Down

0 comments on commit 8146d3c

Please sign in to comment.