mirror of
https://github.com/Joxit/docker-registry-ui.git
synced 2026-05-25 04:52:45 +00:00
feat(taglist-order): change default value to alpha-asc;num-desc
This commit is contained in:
@@ -16,7 +16,7 @@ export const taglistOrderVariants = (taglistOrder) => {
|
||||
return `${taglistOrder};${taglistOrder.startsWith('num') ? 'alpha' : 'num'}-asc`;
|
||||
default:
|
||||
if (!taglistOrder) {
|
||||
return 'num-asc;alpha-asc';
|
||||
return 'alpha-asc;num-desc';
|
||||
} else if (TAGLIST_ORDER_REGEX.test(taglistOrder)) {
|
||||
return taglistOrder;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user