Skip to content

Commit 85e8dbc

Browse files
committed
Hardcode message
1 parent 0757ed0 commit 85e8dbc

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

src/ui/EditorContainer.js

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

129-
const features = window.APP_CONFIG && window.APP_CONFIG["features"];
129+
const features = {
130+
show_global_notification: true,
131+
global_notification_body: "COPY HERE",
132+
global_notification_link: "https://mozilla.org"
133+
};
130134
if (features["show_global_notification"]) {
131135
this.showDialog(NotificationDialog, {
132136
title: "Admin notification",

src/ui/projects/ProjectsPage.js

+5-8
Original file line numberDiff line numberDiff line change
@@ -127,14 +127,11 @@ class ProjectsPage extends Component {
127127
});
128128
}
129129

130-
const features = window.APP_CONFIG && window.APP_CONFIG["features"];
131-
if (features) {
132-
this.setState({
133-
showGlobalNotification: features["show_global_notification"],
134-
globalNotificationBody: features["global_notification_body"],
135-
globalNotificationLink: features["global_notification_link"]
136-
});
137-
}
130+
this.setState({
131+
showGlobalNotification: true,
132+
globalNotificationBody: "COPY HERE",
133+
globalNotificationLink: "https://mozilla.org"
134+
});
138135
}
139136

140137
onDeleteProject = project => {

0 commit comments

Comments
 (0)