adds descriptors to ordering labels (#3892)

This commit is contained in:
Dimitri Mitropoulos
2021-08-09 15:34:46 -04:00
committed by GitHub
parent f48cef02bd
commit 8478fbc27f

View File

@@ -318,8 +318,8 @@ export const SORT_ORDERS = [
SORT_TYPE_ASC,
];
export const sortOrderName: Record<SortOrder, string> = {
[SORT_NAME_ASC]: 'Name Ascending',
[SORT_NAME_DESC]: 'Name Descending',
[SORT_NAME_ASC]: 'Name Ascending (A-Z)',
[SORT_NAME_DESC]: 'Name Descending (Z-A)',
[SORT_CREATED_ASC]: 'Oldest First',
[SORT_CREATED_DESC]: 'Newest First',
[SORT_HTTP_METHOD]: 'HTTP Method',
@@ -343,8 +343,8 @@ export const SPACE_SORT_ORDERS = [
];
export const spaceSortOrderName: Record<SpaceSortOrder, string> = {
[SORT_NAME_ASC]: 'Name Ascending',
[SORT_NAME_DESC]: 'Name Descending',
[SORT_NAME_ASC]: 'Name Ascending (A-Z)',
[SORT_NAME_DESC]: 'Name Descending (Z-A)',
[SORT_CREATED_ASC]: 'Oldest First',
[SORT_CREATED_DESC]: 'Newest First',
[SORT_MODIFIED_DESC]: 'Last Modified',