BryanMLima commented on code in PR #9166:
URL: https://github.com/apache/cloudstack/pull/9166#discussion_r1638760488
##########
ui/src/components/view/ResourceLimitTab.vue:
##########
@@ -112,7 +112,7 @@ export default {
this.formLoading = true
this.dataResource = await this.listResourceLimits(params)
this.dataResource.forEach(item => {
- form[item.resourcetype] = item.max || -1
+ form[item.resourcetype] = item.max == null ? -1 : item.max
Review Comment:
@KlausDornsbach, the lint points to this line as having a trailing space.
```suggestion
form[item.resourcetype] = item.max == null ? -1 : item.max
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]