From ed9b9a99a4580c760262a6ac72a599b31f994d22 Mon Sep 17 00:00:00 2001 From: Manan Jadhav Date: Wed, 29 May 2024 19:45:58 +0530 Subject: [PATCH] refactor: simplify condition --- src/pages/workspace/tags/WorkspaceTagsPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/workspace/tags/WorkspaceTagsPage.tsx b/src/pages/workspace/tags/WorkspaceTagsPage.tsx index 5aa8e7720c3b..2ac8a2337b98 100644 --- a/src/pages/workspace/tags/WorkspaceTagsPage.tsx +++ b/src/pages/workspace/tags/WorkspaceTagsPage.tsx @@ -320,7 +320,7 @@ function WorkspaceTagsPage({route}: WorkspaceTagsPageProps) { cancelText={translate('common.cancel')} danger /> - {(!isSmallScreenWidth || (tagList.length === 0 && !isLoading)) && getHeaderText()} + {(!isSmallScreenWidth || tagList.length === 0 || isLoading) && getHeaderText()} {isLoading && (