From 8a291b9fbeab2c1f9580a85ac634fab51b47df4a Mon Sep 17 00:00:00 2001 From: Roberto Guido Date: Mon, 5 Oct 2026 16:59:24 +0200 Subject: [PATCH] chore: update sharing status icon Signed-off-by: Roberto Guido --- src/components/navigation/AppNavigationBoardCategory.vue | 2 +- src/stores/board.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/navigation/AppNavigationBoardCategory.vue b/src/components/navigation/AppNavigationBoardCategory.vue index 4c328c5af6..87a3021a49 100644 --- a/src/components/navigation/AppNavigationBoardCategory.vue +++ b/src/components/navigation/AppNavigationBoardCategory.vue @@ -64,7 +64,7 @@ export default { }, computed: { boardsSorted() { - return [...this.boards].sort((a, b) => a.title.localeCompare(b.title)) + return this.boards.sort((a, b) => a.title.localeCompare(b.title)) }, collapsible() { return this.boards.length > 0 diff --git a/src/stores/board.js b/src/stores/board.js index 6a2e4d1eac..2803bb6d88 100644 --- a/src/stores/board.js +++ b/src/stores/board.js @@ -142,15 +142,16 @@ export const useBoardStore = defineStore('board', { }, async loadBoardById(boardId) { this.filter = { tags: [], users: [], due: '', unassigned: false, completed: 'both' } - this.setCurrentBoard(null) const board = await apiClient.loadById(boardId) this.setCurrentBoard(board) + this.addBoard(board) this.setAssignableUsers(board.users) }, async refreshBoard(boardId) { const board = await apiClient.loadById(boardId) const etagHasChanged = board.ETag !== this.currentBoard?.ETag this.setCurrentBoard(board) + this.addBoard(board) this.setAssignableUsers(board.users) if (etagHasChanged) {