From d42772a8a19e23d44e2ade6c124bef39323c5d60 Mon Sep 17 00:00:00 2001 From: lme-axelor <102581501+lme-axelor@users.noreply.github.com> Date: Fri, 23 Feb 2024 12:28:12 +0100 Subject: [PATCH] fix: restore toast feature on Loader --- .../core/src/components/templates/Loader/ProcessProvider.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/core/src/components/templates/Loader/ProcessProvider.ts b/packages/core/src/components/templates/Loader/ProcessProvider.ts index 5c7b571ddc..a63bc3fbab 100644 --- a/packages/core/src/components/templates/Loader/ProcessProvider.ts +++ b/packages/core/src/components/templates/Loader/ProcessProvider.ts @@ -80,7 +80,8 @@ class ProcessProvider { } notifyMe(p: ProcessItem) { - this._processMap.set(p.key, {...p, notifyMe: true}); + p.notifyMe = true; + this._processMap.set(p.key, p); } async runProcess(p: ProcessItem, I18n: TranslatorProps) {