From dec24b7b92e4f23eaa535ff07f92bc69ae7692b6 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Fri, 22 Oct 2021 18:44:55 +0200 Subject: [PATCH] [editor] Fix: Do not store empty string for int field Signed-off-by: Knut Ahlers --- editor/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/app.js b/editor/app.js index 375a125..11eb893 100644 --- a/editor/app.js +++ b/editor/app.js @@ -638,7 +638,7 @@ new Vue({ break case 'int64': - if (att[1] === 0) { + if (att[1] === 0 || att[1] == '') { return false } break