Skip to content

Commit

Permalink
fix: stay on splash screen on whitel label failure
Browse files Browse the repository at this point in the history
  • Loading branch information
wa0x6e committed Sep 30, 2024
1 parent b265132 commit ebdbd47
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions apps/ui/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ const {
init: initWhiteLabel,
isWhiteLabel,
isCustomDomain,
resolved: whiteLabelResolved
resolved: whiteLabelResolved,
failed: whiteLabelFailed
} = useWhiteLabel();
const { setTitle } = useTitle();
Expand All @@ -31,7 +32,9 @@ watch(
if (!resolved) return;
if (!isWhiteLabel.value) startIntercom();
if (isCustomDomain.value) mountCustomDomainRoutes();
if (isCustomDomain.value && !whiteLabelFailed.value) {
mountCustomDomainRoutes();
}
},
{ immediate: true }
);
Expand Down

0 comments on commit ebdbd47

Please sign in to comment.