diff --git a/src/ui/EditorContainer.js b/src/ui/EditorContainer.js index 741b3136..65d891e1 100644 --- a/src/ui/EditorContainer.js +++ b/src/ui/EditorContainer.js @@ -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",