RIFT-14984: show only available VIM in instantiate. Display warning when one more...
[osm/UI.git] / skyquake / framework / widgets / skyquake_container / skyquakeContainerStore.js
index aa4e744..d1a8a9e 100644 (file)
@@ -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);