mirror of
https://github.com/romancm/gamebrary
synced 2024-11-24 12:13:08 +00:00
make public boards route public
This commit is contained in:
parent
8f728e227a
commit
6c96536615
2 changed files with 9 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
|||
<template lang="html">
|
||||
<div>
|
||||
<b-container>
|
||||
<h2 class="my-2">Boards</h2>
|
||||
|
||||
<div class="boards">
|
||||
<b-card
|
||||
v-for="board in publicBoards"
|
||||
|
@ -14,9 +16,13 @@
|
|||
:board="board"
|
||||
:background-image="getWallpaper(board)"
|
||||
/>
|
||||
|
||||
<div class="px-2">
|
||||
{{ board.name }} by {{ board.owner }}
|
||||
</div>
|
||||
</b-card>
|
||||
</div>
|
||||
</div>
|
||||
</b-container>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
|
@ -84,6 +84,7 @@ export default new Router({
|
|||
component: PublicBoards,
|
||||
meta: {
|
||||
title: 'PublicBoards',
|
||||
public: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue