[WEB-2498] fix: workspace archives and setting validation (#1189)

* chore: empty state content updated

* chore: archived project validation

* chore: code refactor

* chore: code refactor
This commit is contained in:
Anmol Singh Bhatia
2024-09-23 18:52:56 +05:30
committed by GitHub
parent e9e0bf92ee
commit 951e13b933
2 changed files with 2 additions and 2 deletions

View File

@@ -70,7 +70,7 @@ export const ProjectsListHeader = observer(() => {
<ProjectDisplayFiltersDropdown workspaceSlug={workspaceSlug.toString()} />
</div>
{/* create project button */}
<ProjectCreateButton />
{!isArchived && <ProjectCreateButton />}
</div>
</div>
</div>

View File

@@ -61,7 +61,7 @@ export const ProjectLayoutHOC = observer((props: Props) => {
<Image src={AllFiltersImage} className="mx-auto h-36 w-36 sm:h-48 sm:w-48" alt="No matching projects" />
<h5 className="mb-1 mt-7 text-xl font-medium">No matching projects</h5>
<p className="whitespace-pre-line text-base text-custom-text-400">
No projects detected with the matching\ncriteria. Create a new project instead
{`No projects detected with the matching\ncriteria. Create a new project instead`}
</p>
</div>
</div>