link to board from game page

This commit is contained in:
Gamebrary 2021-10-22 21:40:40 -07:00
parent e56cabf182
commit 7e398e453e

View file

@ -3,7 +3,13 @@
<!-- <mini-board :board="board" v-if="board" /> -->
<div class="mb-3">
<b-button variant="primary">Back to {{ board.name }}</b-button>
<b-button
v-if="board && board.id"
variant="primary"
:to="{ name: 'board', params: { id: board.id }}"
>
Back to {{ board.name }}
</b-button>
</div>
<b-skeleton v-if="loading" />