Skip to content

Commit

Permalink
Watch isVisible and call showCustomNotifier in reaction to it
Browse files Browse the repository at this point in the history
  • Loading branch information
bischofmax committed Apr 26, 2024
1 parent 81cc205 commit c7fef6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/modules/feature/board/board/Board.vue
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@ const onUpdateBoardVisibility = async (newVisibility: boolean) => {
if (!hasEditPermission) return;
boardStore.dispatch(boardActions.updateBoardVisibility({ newVisibility }));
await setAlert();
};
const onUpdateCardPosition = async (_: unknown, cardMove: CardMove) => {
Expand Down Expand Up @@ -259,6 +258,8 @@ const setAlert = useDebounceFn(() => {
}
}, 100);
watch(() => board.value?.isVisible, setAlert);
const { isLoadingDialogOpen } = useLoadingState(
t("components.molecules.copyResult.title.loading")
);
Expand Down

0 comments on commit c7fef6f

Please sign in to comment.