Skip to content

Commit

Permalink
refactor: simplify condition
Browse files Browse the repository at this point in the history
  • Loading branch information
mananjadhav committed May 29, 2024
1 parent ab8563b commit ed9b9a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/workspace/tags/WorkspaceTagsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 && (
<ActivityIndicator
size={CONST.ACTIVITY_INDICATOR_SIZE.LARGE}
Expand Down

0 comments on commit ed9b9a9

Please sign in to comment.