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">
<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>

View file

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