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

Fixed instance name passing to instance detail fetching.

Nashwan Azhari 8 лет назад
Родитель
Сommit
8f9e7bdcdc
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/stores/WizardStore/WizardStore.js

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

@@ -112,7 +112,7 @@ class WizardStore extends Reflux.Store
 
   onLoadInstanceDetail(endpoint, instance) {
     let projectId = Reflux.GlobalState.userStore.currentUser.project.id
-    let instanceNameBase64 = btoa(instance.name)
+    let instanceNameBase64 = btoa(instance.instance_name)
     let url = `${servicesUrl.coriolis}/${projectId}/endpoints/${endpoint.id}/instances/${instanceNameBase64}`
 
     Api.sendAjaxRequest({