Skip to content

Commit

Permalink
Fix get features in EditorContainer
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo committed Apr 17, 2024
1 parent 1a04fdd commit 0757ed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/EditorContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class EditorContainer extends Component {
}
};

const features = window.APP_CONFIG;
const features = window.APP_CONFIG && window.APP_CONFIG["features"];
if (features["show_global_notification"]) {
this.showDialog(NotificationDialog, {
title: "Admin notification",
Expand Down

0 comments on commit 0757ed0

Please sign in to comment.