Skip to content

Commit

Permalink
fix(nx-dev): reverse sort indicators (#18706)
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacplmann authored Aug 18, 2023
1 parent 8183524 commit d3b4c70
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

1 comment on commit d3b4c70

@vercel
Copy link

@vercel vercel bot commented on d3b4c70 Aug 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx.dev
nx-dev-nrwl.vercel.app
nx-dev-git-master-nrwl.vercel.app
nx-five.vercel.app

Please sign in to comment.