diff options
author | bobzel <zzzman@gmail.com> | 2024-10-17 22:02:19 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-10-17 22:02:19 -0400 |
commit | 4b231bbaf21939144ed8639d35f022834a406e59 (patch) | |
tree | 7f675cbd90004742e14343921ca6237ea5d89066 /src/client/views/nodes/MapBox/MapBox.tsx | |
parent | dd93f5175064850c6c0e47f025cd7bbba1f23106 (diff) |
changed layout_isFlashcard to layout_flashcardType with value of 'flashcard' to make it easy to search for flashcards. made carousel views able to focus() on a Doc. added ability for carousel and card views to have anchors so they can be pinned and linked. fixed pinning collections to save filters
Diffstat (limited to 'src/client/views/nodes/MapBox/MapBox.tsx')
-rw-r--r-- | src/client/views/nodes/MapBox/MapBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/MapBox/MapBox.tsx b/src/client/views/nodes/MapBox/MapBox.tsx index c66f7c726..4a436319b 100644 --- a/src/client/views/nodes/MapBox/MapBox.tsx +++ b/src/client/views/nodes/MapBox/MapBox.tsx @@ -428,7 +428,7 @@ export class MapBox extends ViewBoxAnnotatableComponent<FieldViewProps>() { } }; - getView = async (doc: Doc, options: FocusViewOptions) => { + getView = (doc: Doc, options: FocusViewOptions) => { if (this._sidebarRef?.current?.makeDocUnfiltered(doc) && !this.SidebarShown) { this.toggleSidebar(); options.didMove = true; |