From 96805eeb9edbbdde2277d155090c955cfa664506 Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Sat, 14 Jan 2023 16:10:31 +1100 Subject: Allow showing events without images Add setting for showing such events Fix searches not always avoiding filtered categories --- src/store.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/store.ts') 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: { -- cgit v1.2.3