From 4e47c8020f85018973b67d929066b109f5db8a75 Mon Sep 17 00:00:00 2001 From: bobzel Date: Tue, 16 Mar 2021 15:50:54 -0400 Subject: put invalidation of imagebox's suffix on a 1sec delay for efficiency. --- src/client/views/nodes/formattedText/FormattedTextBox.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/client/views/nodes/formattedText') diff --git a/src/client/views/nodes/formattedText/FormattedTextBox.tsx b/src/client/views/nodes/formattedText/FormattedTextBox.tsx index 5e94a7ae5..77dfd126e 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBox.tsx +++ b/src/client/views/nodes/formattedText/FormattedTextBox.tsx @@ -1421,11 +1421,12 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent<(FieldViewProp ; } @computed get sidebarHandle() { + TraceMobx(); const annotated = DocListCast(this.dataDoc[this.SidebarKey]).filter(d => d?.author).length; return (!annotated && !this.active()) ? (null) :
; } @computed get sidebarCollection() { -- cgit v1.2.3-70-g09d2