Skip to content

Commit 0757ed0

Browse files
committed
Fix get features in EditorContainer
1 parent 1a04fdd commit 0757ed0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui/EditorContainer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class EditorContainer extends Component {
126126
}
127127
};
128128

129-
const features = window.APP_CONFIG;
129+
const features = window.APP_CONFIG && window.APP_CONFIG["features"];
130130
if (features["show_global_notification"]) {
131131
this.showDialog(NotificationDialog, {
132132
title: "Admin notification",

0 commit comments

Comments
 (0)