fix(my-joy-beta): fix pkg vcpus sort
This commit is contained in:
parent
3bfc7bd14b
commit
9d7e4e22d5
@ -154,7 +154,7 @@ export const Package = ({
|
|||||||
)}
|
)}
|
||||||
</TableTd>
|
</TableTd>
|
||||||
{hasVms && (
|
{hasVms && (
|
||||||
<TableTd right bold={sortBy === 'vcpu'} selected={selected}>
|
<TableTd right bold={sortBy === 'vcpus'} selected={selected}>
|
||||||
{vcpus}
|
{vcpus}
|
||||||
</TableTd>
|
</TableTd>
|
||||||
)}
|
)}
|
||||||
@ -213,9 +213,9 @@ export const Packages = ({
|
|||||||
{hasVms && (
|
{hasVms && (
|
||||||
<TableTh
|
<TableTh
|
||||||
xs="100"
|
xs="100"
|
||||||
onClick={() => onSortBy('vcpu', sortOrder)}
|
onClick={() => onSortBy('vcpus', sortOrder)}
|
||||||
sortOrder={sortOrder}
|
sortOrder={sortOrder}
|
||||||
showSort={sortBy === 'vcpu'}
|
showSort={sortBy === 'vcpus'}
|
||||||
right
|
right
|
||||||
middle
|
middle
|
||||||
actionable
|
actionable
|
||||||
|
Loading…
Reference in New Issue
Block a user