Commit 85e8dbc 1 parent 0757ed0 commit 85e8dbc Copy full SHA for 85e8dbc
File tree 2 files changed +10
-9
lines changed
2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,11 @@ class EditorContainer extends Component {
126
126
}
127
127
} ;
128
128
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
+ } ;
130
134
if ( features [ "show_global_notification" ] ) {
131
135
this . showDialog ( NotificationDialog , {
132
136
title : "Admin notification" ,
Original file line number Diff line number Diff line change @@ -127,14 +127,11 @@ class ProjectsPage extends Component {
127
127
} ) ;
128
128
}
129
129
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
+ } ) ;
138
135
}
139
136
140
137
onDeleteProject = project => {
You can’t perform that action at this time.
0 commit comments