From b4430e1e1b1c078847e9c878b13baeaacd070827 Mon Sep 17 00:00:00 2001 From: Logan Allen Date: Mon, 8 Mar 2021 15:50:36 -0600 Subject: [PATCH] interface: disable clicking notes if they are pending and gray them out --- .../src/views/apps/publish/components/NotePreview.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkg/interface/src/views/apps/publish/components/NotePreview.tsx b/pkg/interface/src/views/apps/publish/components/NotePreview.tsx index 74c40ab42..d34d77351 100644 --- a/pkg/interface/src/views/apps/publish/components/NotePreview.tsx +++ b/pkg/interface/src/views/apps/publish/components/NotePreview.tsx @@ -49,8 +49,10 @@ export function NotePreview(props: NotePreviewProps) { const commColor = (props.unreads.graph?.[appPath]?.[`/${noteId}`]?.unreads ?? 0) > 0 ? 'blue' : 'gray'; return ( - - + +