X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=skyquake%2Fframework%2Fwidgets%2Fskyquake_container%2FskyquakeContainerStore.js;h=d1a8a9e28440ed3afee8e73e8fc751d9b9b184e5;hb=refs%2Fchanges%2F52%2F652%2F1;hp=aa4e7448f9d7b52018e4e145e8613d7540f8f5b0;hpb=dfe972ff7c9f7b6b1d730e66b0b2aa8df2ce329b;p=osm%2FUI.git diff --git a/skyquake/framework/widgets/skyquake_container/skyquakeContainerStore.js b/skyquake/framework/widgets/skyquake_container/skyquakeContainerStore.js index aa4e7448f..d1a8a9e28 100644 --- a/skyquake/framework/widgets/skyquake_container/skyquakeContainerStore.js +++ b/skyquake/framework/widgets/skyquake_container/skyquakeContainerStore.js @@ -173,8 +173,8 @@ class SkyquakeContainerStore { } else { state.notificationMessage = data.msg; - if(data.type == 'success') { - state.notificationType = 'success'; + if(data.type) { + state.notificationType = data.type; } } this.setState(state);