[WEB-5248] chore: empty state code refactor and translation fix (#8017)
* chore: empty state code refactor and translation fix * chore: code refactor
This commit is contained in:
parent
3faf768112
commit
cf7f891bcb
29 changed files with 52 additions and 59 deletions
|
|
@ -78,13 +78,13 @@ export const ProjectCardList = observer((props: TProjectCardListProps) => {
|
|||
currentWorkspaceDisplayFilters?.archived_projects &&
|
||||
calculateTotalFilters(currentWorkspaceFilters ?? {}) === 0
|
||||
? t("workspace.projects_archived.title")
|
||||
: t("common.search.title")
|
||||
: t("common_empty_state.search.title")
|
||||
}
|
||||
description={
|
||||
currentWorkspaceDisplayFilters?.archived_projects &&
|
||||
calculateTotalFilters(currentWorkspaceFilters ?? {}) === 0
|
||||
? t("workspace.projects_archived.description")
|
||||
: t("common.search.description")
|
||||
: t("common_empty_state.search.description")
|
||||
}
|
||||
assetKey={
|
||||
currentWorkspaceDisplayFilters?.archived_projects &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue