@masterkeymaterial/ui 0.2.10 → 0.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6220,7 +6220,13 @@ class FormAction extends BaseFieldsValues {
6220
6220
  for await (const task of this.tasksToSave()) {
6221
6221
  // await LibUtil.wait(1000);
6222
6222
  let r = task.task();
6223
- r.then(s => task.success = s.s).catch(f => task.success = false);
6223
+ r.then(s => {
6224
+ task.success = s.s;
6225
+ task.message = s.m;
6226
+ }).catch(f => {
6227
+ task.success = false;
6228
+ task.message = 'Erro na execução da tarefa';
6229
+ });
6224
6230
  await r;
6225
6231
  task.done = true;
6226
6232
  }