Skip to content

Commit

Permalink
Fix context check to be dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
wpalani committed Apr 26, 2024
1 parent 08adc10 commit ec0e7dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/components/notifications/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<div className={methods.classnames('newfold-nav-notifications-wrapper nfd-mt-4')}>
<Notification
Expand Down

0 comments on commit ec0e7dc

Please sign in to comment.