shwstppr commented on code in PR #9166:
URL: https://github.com/apache/cloudstack/pull/9166#discussion_r1625724731


##########
ui/src/components/view/ResourceLimitTab.vue:
##########
@@ -137,7 +137,7 @@ export default {
         this.dataResource.forEach(item => {
           this.resourceTypeIdNames[item.resourcetype] = item.resourcetypename
           item.key = item.tag ? (item.resourcetype + '-' + item.tag) : 
item.resourcetype
-          form[item.key] = item.max || -1
+          form[item.key] = item.max == null ? -1 : item.max

Review Comment:
   @KlausDornsbach I guess subItem or ln 143 should also follow the same 
behaviour?



-- 
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-unsubscr...@cloudstack.apache.org

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

Reply via email to