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 2021/09/01 09:47:37 UTC

[GitHub] [cloudstack] shwstppr commented on a change in pull request #5392: UI - Scale VM - Fix compute offering selection not working

shwstppr commented on a change in pull request #5392:
URL: https://github.com/apache/cloudstack/pull/5392#discussion_r700037826



##########
File path: ui/src/views/compute/wizard/ComputeSelection.vue
##########
@@ -25,7 +25,7 @@
             :validate-status="errors.cpu.status"
             :help="errors.cpu.message">
             <a-row :gutter="12">
-              <a-col :md="10" :lg="10" v-show="isConstrained">
+              <a-col :md="10" :lg="10" v-show="isConstrained && maxCpu && isNaN(maxCpu)">

Review comment:
       @utchoang is this show condition correct here. For memory you have used reversed for isNaN which probably makes sense

##########
File path: ui/src/views/compute/wizard/ComputeSelection.vue
##########
@@ -25,7 +25,7 @@
             :validate-status="errors.cpu.status"
             :help="errors.cpu.message">
             <a-row :gutter="12">
-              <a-col :md="10" :lg="10" v-show="isConstrained">
+              <a-col :md="10" :lg="10" v-show="isConstrained && maxCpu && isNaN(maxCpu)">

Review comment:
       @utchoang is this show condition correct here? For memory you have used reversed for isNaN which probably makes sense




-- 
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