From cb18f848b44705a25f786f9a0e678095101f9e01 Mon Sep 17 00:00:00 2001 From: bobzel Date: Tue, 29 Sep 2020 21:28:33 -0400 Subject: fixed highlighting of sidebar handle when no annotations are accessible --- src/client/views/nodes/formattedText/FormattedTextBox.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/client/views/nodes/formattedText/FormattedTextBox.tsx b/src/client/views/nodes/formattedText/FormattedTextBox.tsx index 93eb94854..15e35ce72 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBox.tsx +++ b/src/client/views/nodes/formattedText/FormattedTextBox.tsx @@ -1541,7 +1541,7 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent<(FieldViewProp } @computed get sidebarHandle() { - const annotated = DocListCast(this.dataDoc[this.annotationKey]).length; + const annotated = DocListCast(this.dataDoc[this.annotationKey]).filter(d => d?.title).length; return !this.props.isSelected() && !(annotated && !this.sidebarWidth()) ? (null) :