From 0757ed047b4427259f337deef37c8dfb144abd9b Mon Sep 17 00:00:00 2001 From: Manuel Martin Date: Wed, 17 Apr 2024 14:54:47 +0200 Subject: [PATCH] Fix get features in EditorContainer --- src/ui/EditorContainer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",