From ec0e7dc989bc7909efb5e2fa7eb507dde5c5d9cf Mon Sep 17 00:00:00 2001 From: wpalani Date: Fri, 26 Apr 2024 12:50:02 -0700 Subject: [PATCH] Fix context check to be dynamic --- assets/js/components/notifications/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/components/notifications/index.js b/assets/js/components/notifications/index.js index 8dd708e..6d6c0fd 100644 --- a/assets/js/components/notifications/index.js +++ b/assets/js/components/notifications/index.js @@ -150,7 +150,7 @@ const Notifications = ({methods, constants, ...props}) => { ); } - if ('bluehost-app-nav' === constants.context && activeNotifications.length > 0) { + if (`${window.NewfoldRuntime.plugin.brand}-app-nav` === constants.context && activeNotifications.length > 0) { return (