mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
allow zero as cpu speed value in service offerings (#4986)
Co-authored-by: DK101010 <dirk.klahre@itelligence.de>
This commit is contained in:
parent
1654391309
commit
21b0b0f84e
@ -192,7 +192,7 @@
|
||||
rules: [{ required: true, message: $t('message.error.required.input') },
|
||||
{
|
||||
validator: (rule, value, callback) => {
|
||||
if (value && (isNaN(value) || value <= 0)) {
|
||||
if (value && (isNaN(value) || value < 0)) {
|
||||
callback(this.$t('message.error.number'))
|
||||
}
|
||||
callback()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user