@veloceapps/sdk 10.0.0-3 → 10.0.0-4
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.
@@ -642,7 +642,11 @@ class FlowStateService {
|
|
642
642
|
save$() {
|
643
643
|
if (this.getFlowSafe().properties.stateful) {
|
644
644
|
if (this.stateId$.value) {
|
645
|
-
return this.flowStateApiService.save(this.stateId$.value)
|
645
|
+
return this.flowStateApiService.save(this.stateId$.value).pipe(tap$1(() => {
|
646
|
+
Array.from(this.trackedStatefulChangesMap.keys()).forEach(key => {
|
647
|
+
this.trackedStatefulChangesMap.set(key, false);
|
648
|
+
});
|
649
|
+
}));
|
646
650
|
}
|
647
651
|
}
|
648
652
|
else {
|