@masterteam/workflow 0.0.42 → 0.0.43
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.
|
@@ -354,10 +354,6 @@ let WorkflowState = class WorkflowState {
|
|
|
354
354
|
}), finalize(() => endLoading(ctx, 'getFormulaProperties')));
|
|
355
355
|
}
|
|
356
356
|
getGroups(ctx, _action) {
|
|
357
|
-
const state = ctx.getState();
|
|
358
|
-
if (state.groups.length) {
|
|
359
|
-
return of(state.groups);
|
|
360
|
-
}
|
|
361
357
|
startLoading(ctx, 'getGroups');
|
|
362
358
|
return this.http.get(this.groupsUrl).pipe(tap((response) => {
|
|
363
359
|
const groups = Array.isArray(response?.data) ? response.data : [];
|