Просмотр исходного кода

Fixes cloud fields issue breaking the wizard

George Vrancianu 8 лет назад
Родитель
Сommit
4541ceef1b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/stores/ConnectionsStore/ConnectionsStore.js

+ 1 - 1
src/stores/ConnectionsStore/ConnectionsStore.js

@@ -291,7 +291,7 @@ class ConnectionsStore extends Reflux.Store
   }
 
   static processCloud(cloudData, providerName = null, type = 'connection') {
-    if (providerName != "azure" && providerName != null) {
+    if (providerName != "azure" && providerName != null && cloudData.oneOf) {
       cloudData = cloudData.oneOf[0]
     }