Skip to content

Commit

Permalink
EPMRPP-91750 || refactor naming
Browse files Browse the repository at this point in the history
  • Loading branch information
BlazarQSO committed Jun 25, 2024
1 parent 5b9eb4d commit f89c34d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const OrganizationProjectsPage = () => {
const buttonTitle = formatMessage(messages.createProject);

const organization = useSelector(activeOrganizationSelector);
const isNotEmpty = organization?.relationships?.projects?.meta.count > 0;
const isEmpty = organization?.relationships?.projects?.meta.count === 0;

return (
<div className={cx('organization-projects-container')}>
Expand All @@ -55,7 +55,7 @@ export const OrganizationProjectsPage = () => {
) : (
<>
<ProjectsPageHeader hasPermission={hasPermission} />
{!isNotEmpty && (
{isEmpty && (
<EmptyStatePage
hasPermission={hasPermission}
label={label}
Expand Down

0 comments on commit f89c34d

Please sign in to comment.