Add timeline to menu.

This commit is contained in:
Dermot Duffy
2022-03-19 09:00:21 -07:00
parent 05d5b246e2
commit b17907a2c7
3 changed files with 17 additions and 3 deletions
+3
View File
@@ -127,6 +127,7 @@ const FRIGATE_CARD_GENERAL_ACTIONS = [
'live',
'snapshot',
'snapshots',
'timeline',
'download',
'frigate_ui',
'fullscreen',
@@ -591,6 +592,7 @@ const menuConfigDefault = {
clips: true,
snapshots: true,
image: false,
timeline: true,
download: true,
frigate_ui: true,
fullscreen: true,
@@ -609,6 +611,7 @@ const menuConfigSchema = z
clips: z.boolean().default(menuConfigDefault.buttons.clips),
snapshots: z.boolean().default(menuConfigDefault.buttons.snapshots),
image: z.boolean().default(menuConfigDefault.buttons.image),
timeline: z.boolean().default(menuConfigDefault.buttons.timeline),
download: z.boolean().default(menuConfigDefault.buttons.download),
frigate_ui: z.boolean().default(menuConfigDefault.buttons.frigate_ui),
fullscreen: z.boolean().default(menuConfigDefault.buttons.fullscreen),