You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/04/01 06:12:00 UTC

[GitHub] [cloudstack] utchoang commented on a change in pull request #6182: UI: Fix minor UI issues

utchoang commented on a change in pull request #6182:
URL: https://github.com/apache/cloudstack/pull/6182#discussion_r840262096



##########
File path: ui/src/views/infra/MigrateData.vue
##########
@@ -115,14 +117,23 @@ export default {
       })
     },
     fetchImageStores () {
-      this.loading = true
-      api('listImageStores').then(json => {
-        this.imageStores = json.listimagestoresresponse.imagestore || []
-        this.form.srcpool = this.imageStores[0].id || ''
-      }).finally(() => {
-        this.loading = false
+      return new Promise((resolve, reject) => {
+        this.loading = true
+        api('listImageStores').then(json => {
+          this.imageStores = json.listimagestoresresponse.imagestore || []
+          console.log(this.imageStores)

Review comment:
       @Pearl1594 Please remove this log.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org