Skip to content

Commit

Permalink
fix(nx-dev): reverse sort indicators
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacplmann committed Aug 18, 2023
1 parent 253bb65 commit c46ea72
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions nx-dev/ui-community/src/lib/plugin-directory.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ export function PluginDirectory({
<ClockIcon className="h-4 w-4 inline-block mr-0.5 align-bottom"></ClockIcon>
Release Date
{modifiers.orderBy === 'lastPublishDate' &&
modifiers.orderDirection === 'DESC' ? (
modifiers.orderDirection === 'ASC' ? (
<ArrowLongUpIcon className="h-4 w-4 inline-block ml-0.5 align-bottom"></ArrowLongUpIcon>
) : null}
{modifiers.orderBy === 'lastPublishDate' &&
modifiers.orderDirection === 'ASC' ? (
modifiers.orderDirection === 'DESC' ? (
<ArrowLongDownIcon className="h-4 w-4 inline-block ml-0.5 align-bottom"></ArrowLongDownIcon>
) : null}
</button>
Expand All @@ -113,11 +113,11 @@ export function PluginDirectory({
<ArrowDownIcon className="h-4 w-4 inline-block mr-0.5 align-bottom"></ArrowDownIcon>
Downloads
{modifiers.orderBy === 'npmDownloads' &&
modifiers.orderDirection === 'DESC' ? (
modifiers.orderDirection === 'ASC' ? (
<ArrowLongUpIcon className="h-4 w-4 inline-block ml-0.5 align-bottom"></ArrowLongUpIcon>
) : null}
{modifiers.orderBy === 'npmDownloads' &&
modifiers.orderDirection === 'ASC' ? (
modifiers.orderDirection === 'DESC' ? (
<ArrowLongDownIcon className="h-4 w-4 inline-block ml-0.5 align-bottom"></ArrowLongDownIcon>
) : null}
</button>
Expand All @@ -128,11 +128,11 @@ export function PluginDirectory({
<StarIcon className="h-4 w-4 inline-block mr-0.5 align-bottom"></StarIcon>
GH Stars
{modifiers.orderBy === 'githubStars' &&
modifiers.orderDirection === 'DESC' ? (
modifiers.orderDirection === 'ASC' ? (
<ArrowLongUpIcon className="h-4 w-4 inline-block ml-0.5 align-bottom"></ArrowLongUpIcon>
) : null}
{modifiers.orderBy === 'githubStars' &&
modifiers.orderDirection === 'ASC' ? (
modifiers.orderDirection === 'DESC' ? (
<ArrowLongDownIcon className="h-4 w-4 inline-block ml-0.5 align-bottom"></ArrowLongDownIcon>
) : null}
</button>
Expand Down

0 comments on commit c46ea72

Please sign in to comment.