diff options
author | geireann <geireann.lindfield@gmail.com> | 2023-11-30 16:00:13 -0500 |
---|---|---|
committer | geireann <geireann.lindfield@gmail.com> | 2023-11-30 16:00:13 -0500 |
commit | c918198a37e4ad5306b70a90ca1b3fcab2e28f76 (patch) | |
tree | 1733a96358c2dcb949480416245bc3d6354966c7 /src/client/views/nodes/DocumentView.tsx | |
parent | ab1688962875073fa59a4a97303d0e0f0398ba5d (diff) |
fixed rootSelected prop to be optional. fixed fonticont toggle to pass 'self' even though it's deprecated.
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index 6e50a6b0f..b6e90cbf4 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -176,7 +176,7 @@ export interface DocumentViewSharedProps { searchFilterDocs: () => Doc[]; layout_showTitle?: () => string; whenChildContentsActiveChanged: (isActive: boolean) => void; - rootSelected: () => boolean; // whether the root of a template has been selected + rootSelected?: () => boolean; // whether the root of a template has been selected addDocTab: (doc: Doc, where: OpenWhere) => boolean; filterAddDocument?: (doc: Doc[]) => boolean; // allows a document that renders a Collection view to filter or modify any documents added to the collection (see PresBox for an example) addDocument?: (doc: Doc | Doc[], annotationKey?: string) => boolean; |