aboutsummaryrefslogtreecommitdiff
path: root/src/store.ts
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2023-01-14 16:10:31 +1100
committerTerry Truong <terry06890@gmail.com>2023-01-14 16:10:31 +1100
commit96805eeb9edbbdde2277d155090c955cfa664506 (patch)
treeb06e80281dca99e8cd2c8af2d7f3447a6db699fb /src/store.ts
parent3704ad2b88263705ee8352505845c38e0e5aa71f (diff)
Allow showing events without images
Add setting for showing such events Fix searches not always avoiding filtered categories
Diffstat (limited to 'src/store.ts')
-rw-r--r--src/store.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/store.ts b/src/store.ts
index a366894..3778649 100644
--- a/src/store.ts
+++ b/src/store.ts
@@ -30,6 +30,7 @@ export type StoreState = {
dragInertia: number, // Multiplied by final-drag-speed (pixels-per-sec) to get extra scroll distance
disableShortcuts: boolean,
// Other feature-specific
+ reqImgs: boolean, // Only show events with images
showEventCounts: boolean,
searchSuggLimit: number,
ctgs: { // Specifies event categories, and which ones should be visible
@@ -104,6 +105,7 @@ function getDefaultState(): StoreState {
dragInertia: 0.1,
disableShortcuts: false,
// Other feature-specific
+ reqImgs: true,
showEventCounts: true,
searchSuggLimit: 10,
ctgs: {