From 0a36850d03e534e5dd21a30b1ae99d352a0009fd Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com> Date: Mon, 12 Feb 2024 12:43:45 +0530 Subject: [PATCH] chore: show project tour modal before project creation (#3611) --- web/components/page-views/workspace-dashboard.tsx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/web/components/page-views/workspace-dashboard.tsx b/web/components/page-views/workspace-dashboard.tsx index 8f8622c18..890cce27f 100644 --- a/web/components/page-views/workspace-dashboard.tsx +++ b/web/components/page-views/workspace-dashboard.tsx @@ -59,6 +59,11 @@ export const WorkspaceDashboardView = observer(() => { return ( <> + {currentUser && !currentUser.is_tour_completed && ( +
+ +
+ )} {homeDashboardId && joinedProjectIds ? ( <> {joinedProjectIds.length > 0 ? ( @@ -66,11 +71,7 @@ export const WorkspaceDashboardView = observer(() => {
{currentUser && } - {currentUser && !currentUser.is_tour_completed && ( -
- -
- )} +