From d4738b172a1737395b73f5495446d3138d4045b9 Mon Sep 17 00:00:00 2001 From: bobzel Date: Tue, 16 Mar 2021 13:22:28 -0400 Subject: fixed up leaving pushpins - leave pushpin when moving from one annotated doc to another. --- src/client/views/nodes/FontIconBox.tsx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/client/views/nodes') diff --git a/src/client/views/nodes/FontIconBox.tsx b/src/client/views/nodes/FontIconBox.tsx index 56c79cde9..22815388d 100644 --- a/src/client/views/nodes/FontIconBox.tsx +++ b/src/client/views/nodes/FontIconBox.tsx @@ -49,14 +49,12 @@ export class FontIconBox extends DocComponent( const presTrailsIcon = ; const button = ; return !this.layoutDoc.toolTip ? button : @@ -67,7 +65,7 @@ export class FontIconBox extends DocComponent( } interface FontIconBadgeProps { - collection: Doc; + collection: Doc | undefined; } @observer -- cgit v1.2.3-70-g09d2