From 951e13b93337df41be5ff82f4ee8547aa362be0d Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Mon, 23 Sep 2024 18:52:56 +0530 Subject: [PATCH] [WEB-2498] fix: workspace archives and setting validation (#1189) * chore: empty state content updated * chore: archived project validation * chore: code refactor * chore: code refactor --- web/ee/components/projects/header/root.tsx | 2 +- web/ee/components/projects/layouts/project-layout-HOC.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/ee/components/projects/header/root.tsx b/web/ee/components/projects/header/root.tsx index 41d613ad47..df43d95242 100644 --- a/web/ee/components/projects/header/root.tsx +++ b/web/ee/components/projects/header/root.tsx @@ -70,7 +70,7 @@ export const ProjectsListHeader = observer(() => { {/* create project button */} - + {!isArchived && } diff --git a/web/ee/components/projects/layouts/project-layout-HOC.tsx b/web/ee/components/projects/layouts/project-layout-HOC.tsx index 0541c5b749..23cfc2e01c 100644 --- a/web/ee/components/projects/layouts/project-layout-HOC.tsx +++ b/web/ee/components/projects/layouts/project-layout-HOC.tsx @@ -61,7 +61,7 @@ export const ProjectLayoutHOC = observer((props: Props) => { No matching projects
No matching projects

- No projects detected with the matching\ncriteria. Create a new project instead + {`No projects detected with the matching\ncriteria. Create a new project instead`}