Make recents category default
This commit is contained in:
parent
705b8a99e2
commit
d77ad59eb2
@ -132,7 +132,7 @@ Application behavior can be changed by configuring the following environment var
|
|||||||
- `NEXT_PUBLIC_CATEGORY_VISIBILITY`
|
- `NEXT_PUBLIC_CATEGORY_VISIBILITY`
|
||||||
- Comma-separated value controlling which photo sets appear in grid sidebar and CMD-K menu, and in what order. For example, you could move cameras above tags, and hide film simulations, by updating to `cameras,tags,lenses,recipes`.
|
- Comma-separated value controlling which photo sets appear in grid sidebar and CMD-K menu, and in what order. For example, you could move cameras above tags, and hide film simulations, by updating to `cameras,tags,lenses,recipes`.
|
||||||
- Accepted values:
|
- Accepted values:
|
||||||
- `recents`
|
- `recents` (default)
|
||||||
- `years`
|
- `years`
|
||||||
- `tags` (default)
|
- `tags` (default)
|
||||||
- `cameras` (default)
|
- `cameras` (default)
|
||||||
|
|||||||
@ -24,6 +24,7 @@ export type CategoryKey = (typeof CATEGORY_KEYS)[number];
|
|||||||
export type CategoryKeys = CategoryKey[];
|
export type CategoryKeys = CategoryKey[];
|
||||||
|
|
||||||
export const DEFAULT_CATEGORY_KEYS: CategoryKeys = [
|
export const DEFAULT_CATEGORY_KEYS: CategoryKeys = [
|
||||||
|
'recents',
|
||||||
'tags',
|
'tags',
|
||||||
'cameras',
|
'cameras',
|
||||||
'lenses',
|
'lenses',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user