We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6ef8b12 + abac675 commit 82b8d17Copy full SHA for 82b8d17
1 file changed
src/components/boards/Boards.vue
@@ -36,7 +36,7 @@
36
</div>
37
<div class="board-list-actions-cell" />
38
39
- <BoardItem v-for="board in filteredBoards" :key="board.id" :board="board" />
+ <BoardItem v-for="board in boardsSorted" :key="board.id" :board="board" />
40
41
42
</template>
@@ -59,6 +59,9 @@ export default {
59
},
60
61
computed: {
62
+ boardsSorted() {
63
+ return [...this.filteredBoards].sort((a, b) => (a.title < b.title) ? -1 : 1)
64
+ },
65
filteredBoards() {
66
const query = this.$store.getters.getSearchQuery
67
return this.$store.getters.filteredBoards.filter((board) => {
0 commit comments