Skip to content

Commit

Permalink
fix(boards): fix null events order
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcnk committed Feb 2, 2024
1 parent dd035d1 commit 3b8908a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/(dashboard)/boards/[boardId]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
export let data;
export const board = writable<BoardWithEvents>(data.board);
export const eventsOrder = writable<EventsOrder>(JSON.parse(data.board.eventsOrder));
export const eventsOrder = writable<EventsOrder>(JSON.parse(data.board.eventsOrder) ?? {});
export const eventDetailsId = writable<string | null>(null);
export const deleteEventId = writable<string | null>(null);
export const eventsByOption = derived([board, eventsOrder], ([$board, $eventsOrder]) => {
Expand Down

0 comments on commit 3b8908a

Please sign in to comment.