From 1013fb65b88a99df17165091d0858cc7c4d45bbd Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Thu, 22 Feb 2024 11:21:12 -0300 Subject: [PATCH] new(basic.gblib): REPORT AND RESET REPORT new keywords @othonlima --- packages/basic.gblib/services/SystemKeywords.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/basic.gblib/services/SystemKeywords.ts b/packages/basic.gblib/services/SystemKeywords.ts index b2f55565..c3a4d40f 100644 --- a/packages/basic.gblib/services/SystemKeywords.ts +++ b/packages/basic.gblib/services/SystemKeywords.ts @@ -783,8 +783,8 @@ export class SystemKeywords { */ public async saveToStorage({ pid, table, fieldsValues, fieldsNames }): Promise { - if (!fieldsValues){ - + if (!fieldsValues || fieldsValues.length===0 || !fieldsValues[0]){ + return; }