Skip to content

Commit 5369daf

Browse files
committed
fix: issue with warning that threads isnt populated
1 parent a945d0c commit 5369daf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/Boards.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<div class="main">
33
<p v-if="boardData.error"><strong>{{boardData.error}}</strong></p>
4-
<recent-threads :threads="boardData.data.threads"></recent-threads>
4+
<recent-threads v-if="boardData && boardData.data" :threads="boardData.data.threads"></recent-threads>
55

66
<div v-if="!loggedIn" class="dashboard-actions">
77
<a href="" class="button" @click.prevent="showRegister = true">Create an Account</a>

0 commit comments

Comments
 (0)