diff --git a/apps/client/src/services/in_app_help.ts b/apps/client/src/services/in_app_help.ts index 46a89b0124..ce4c0cdd15 100644 --- a/apps/client/src/services/in_app_help.ts +++ b/apps/client/src/services/in_app_help.ts @@ -1,4 +1,5 @@ import { NoteType } from "@triliumnext/commons"; + import FNote from "../entities/fnote"; import { ViewTypeOptions } from "../widgets/collections/interface"; @@ -17,7 +18,8 @@ export const byNoteType: Record, string | null> = { render: null, search: null, text: null, - webView: null + webView: null, + spreadsheet: null }; export const byBookType: Record = { @@ -38,6 +40,6 @@ export function getHelpUrlForNote(note: FNote | null | undefined) { } else if (note?.hasLabel("textSnippet")) { return "pwc194wlRzcH"; } else if (note && note.type === "book") { - return byBookType[note.getAttributeValue("label", "viewType") as ViewTypeOptions ?? ""] + return byBookType[note.getAttributeValue("label", "viewType") as ViewTypeOptions ?? ""]; } }