mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
fix: domain limits tab ui is now able to present 0 to the user (#9166)
Co-authored-by: klaus.freitas.scclouds <klaus.freitas@scclouds.com.br> Co-authored-by: Bryan Lima <42067040+BryanMLima@users.noreply.github.com>
This commit is contained in:
parent
00fe25ab01
commit
96288ecf1f
@ -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
|
||||
})
|
||||
this.form = form
|
||||
this.formRef.value.resetFields()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user