mirror of
https://github.com/romancm/gamebrary
synced 2024-11-24 20:23:06 +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">
|
<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>
|
||||||
|
|
|
@ -84,6 +84,7 @@ export default new Router({
|
||||||
component: PublicBoards,
|
component: PublicBoards,
|
||||||
meta: {
|
meta: {
|
||||||
title: 'PublicBoards',
|
title: 'PublicBoards',
|
||||||
|
public: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue