fix(nx-dev): reverse sort indicators (#18706)
This commit is contained in:
parent
8183524042
commit
d3b4c700ad
@ -98,11 +98,11 @@ export function PluginDirectory({
|
|||||||
<ClockIcon className="h-4 w-4 inline-block mr-0.5 align-bottom"></ClockIcon>
|
<ClockIcon className="h-4 w-4 inline-block mr-0.5 align-bottom"></ClockIcon>
|
||||||
Release Date
|
Release Date
|
||||||
{modifiers.orderBy === 'lastPublishDate' &&
|
{modifiers.orderBy === 'lastPublishDate' &&
|
||||||
modifiers.orderDirection === 'DESC' ? (
|
modifiers.orderDirection === 'ASC' ? (
|
||||||
<ArrowLongUpIcon className="h-4 w-4 inline-block ml-0.5 align-bottom"></ArrowLongUpIcon>
|
<ArrowLongUpIcon className="h-4 w-4 inline-block ml-0.5 align-bottom"></ArrowLongUpIcon>
|
||||||
) : null}
|
) : null}
|
||||||
{modifiers.orderBy === 'lastPublishDate' &&
|
{modifiers.orderBy === 'lastPublishDate' &&
|
||||||
modifiers.orderDirection === 'ASC' ? (
|
modifiers.orderDirection === 'DESC' ? (
|
||||||
<ArrowLongDownIcon className="h-4 w-4 inline-block ml-0.5 align-bottom"></ArrowLongDownIcon>
|
<ArrowLongDownIcon className="h-4 w-4 inline-block ml-0.5 align-bottom"></ArrowLongDownIcon>
|
||||||
) : null}
|
) : null}
|
||||||
</button>
|
</button>
|
||||||
@ -113,11 +113,11 @@ export function PluginDirectory({
|
|||||||
<ArrowDownIcon className="h-4 w-4 inline-block mr-0.5 align-bottom"></ArrowDownIcon>
|
<ArrowDownIcon className="h-4 w-4 inline-block mr-0.5 align-bottom"></ArrowDownIcon>
|
||||||
Downloads
|
Downloads
|
||||||
{modifiers.orderBy === 'npmDownloads' &&
|
{modifiers.orderBy === 'npmDownloads' &&
|
||||||
modifiers.orderDirection === 'DESC' ? (
|
modifiers.orderDirection === 'ASC' ? (
|
||||||
<ArrowLongUpIcon className="h-4 w-4 inline-block ml-0.5 align-bottom"></ArrowLongUpIcon>
|
<ArrowLongUpIcon className="h-4 w-4 inline-block ml-0.5 align-bottom"></ArrowLongUpIcon>
|
||||||
) : null}
|
) : null}
|
||||||
{modifiers.orderBy === 'npmDownloads' &&
|
{modifiers.orderBy === 'npmDownloads' &&
|
||||||
modifiers.orderDirection === 'ASC' ? (
|
modifiers.orderDirection === 'DESC' ? (
|
||||||
<ArrowLongDownIcon className="h-4 w-4 inline-block ml-0.5 align-bottom"></ArrowLongDownIcon>
|
<ArrowLongDownIcon className="h-4 w-4 inline-block ml-0.5 align-bottom"></ArrowLongDownIcon>
|
||||||
) : null}
|
) : null}
|
||||||
</button>
|
</button>
|
||||||
@ -128,11 +128,11 @@ export function PluginDirectory({
|
|||||||
<StarIcon className="h-4 w-4 inline-block mr-0.5 align-bottom"></StarIcon>
|
<StarIcon className="h-4 w-4 inline-block mr-0.5 align-bottom"></StarIcon>
|
||||||
GH Stars
|
GH Stars
|
||||||
{modifiers.orderBy === 'githubStars' &&
|
{modifiers.orderBy === 'githubStars' &&
|
||||||
modifiers.orderDirection === 'DESC' ? (
|
modifiers.orderDirection === 'ASC' ? (
|
||||||
<ArrowLongUpIcon className="h-4 w-4 inline-block ml-0.5 align-bottom"></ArrowLongUpIcon>
|
<ArrowLongUpIcon className="h-4 w-4 inline-block ml-0.5 align-bottom"></ArrowLongUpIcon>
|
||||||
) : null}
|
) : null}
|
||||||
{modifiers.orderBy === 'githubStars' &&
|
{modifiers.orderBy === 'githubStars' &&
|
||||||
modifiers.orderDirection === 'ASC' ? (
|
modifiers.orderDirection === 'DESC' ? (
|
||||||
<ArrowLongDownIcon className="h-4 w-4 inline-block ml-0.5 align-bottom"></ArrowLongDownIcon>
|
<ArrowLongDownIcon className="h-4 w-4 inline-block ml-0.5 align-bottom"></ArrowLongDownIcon>
|
||||||
) : null}
|
) : null}
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user