[editor] Fix: Do not store empty string for int field

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-10-22 18:44:55 +02:00
parent a1e0f8325e
commit dec24b7b92
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -638,7 +638,7 @@ new Vue({
break
case 'int64':
if (att[1] === 0) {
if (att[1] === 0 || att[1] == '') {
return false
}
break