From 76ce5d84f330cb08c061cff8356a90ebb0b3136b Mon Sep 17 00:00:00 2001 From: Bec Scott Date: Thu, 18 Jun 2020 14:00:27 +1000 Subject: [PATCH] Fix logic error that was stopping dismiss link from appearing on the inbox cards (https://github.com/woocommerce/woocommerce-admin/pull/4624) Co-authored-by: Rebecca Scott --- .../client/header/activity-panel/panels/inbox/card.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/woocommerce-admin/client/header/activity-panel/panels/inbox/card.js b/plugins/woocommerce-admin/client/header/activity-panel/panels/inbox/card.js index ea887f6a890..3055fba1168 100644 --- a/plugins/woocommerce-admin/client/header/activity-panel/panels/inbox/card.js +++ b/plugins/woocommerce-admin/client/header/activity-panel/panels/inbox/card.js @@ -151,7 +151,7 @@ class InboxNoteCard extends Component { renderDismissButton() { const { clickedActionText } = this.state; - if ( ! clickedActionText ) { + if ( clickedActionText ) { return null; }