diff --git a/src/plugins/dashboard/public/application/actions/library_notification_action.tsx b/src/plugins/dashboard/public/application/actions/library_notification_action.tsx index 3d4f044aeb170..974b55275ccc1 100644 --- a/src/plugins/dashboard/public/application/actions/library_notification_action.tsx +++ b/src/plugins/dashboard/public/application/actions/library_notification_action.tsx @@ -78,10 +78,10 @@ export class LibraryNotificationAction implements ActionByType { - return Boolean( + return ( embeddable.getInput()?.viewMode !== ViewMode.VIEW && - isReferenceOrValueEmbeddable(embeddable) && - embeddable.inputIsRefType(embeddable.getInput()) + isReferenceOrValueEmbeddable(embeddable) && + embeddable.inputIsRefType(embeddable.getInput()) ); };