Do not list deleted boards
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -62,7 +62,7 @@ export default {
|
||||
filteredBoards() {
|
||||
const query = this.$store.getters.getSearchQuery
|
||||
return this.$store.getters.filteredBoards.filter((board) => {
|
||||
return board.title.toLowerCase().includes(query.toLowerCase())
|
||||
return board.deletedAt <= 0 && board.title.toLowerCase().includes(query.toLowerCase())
|
||||
})
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user