make public boards route public

This commit is contained in:
Gamebrary 2021-02-03 15:14:38 -07:00
parent 8f728e227a
commit 6c96536615
2 changed files with 9 additions and 2 deletions

View file

@ -1,5 +1,7 @@
<template lang="html"> <template lang="html">
<div> <b-container>
<h2 class="my-2">Boards</h2>
<div class="boards"> <div class="boards">
<b-card <b-card
v-for="board in publicBoards" v-for="board in publicBoards"
@ -14,9 +16,13 @@
:board="board" :board="board"
:background-image="getWallpaper(board)" :background-image="getWallpaper(board)"
/> />
<div class="px-2">
{{ board.name }} by {{ board.owner }}
</div>
</b-card> </b-card>
</div> </div>
</div> </b-container>
</template> </template>
<script> <script>

View file

@ -84,6 +84,7 @@ export default new Router({
component: PublicBoards, component: PublicBoards,
meta: { meta: {
title: 'PublicBoards', title: 'PublicBoards',
public: true,
}, },
}, },
{ {