Settings
This commit is contained in:
parent
346bdcdff6
commit
2b9ad98154
|
|
@ -188,10 +188,7 @@ Middleware<AppState> _saveGroup(GroupRepository repository) {
|
||||||
} else {
|
} else {
|
||||||
store.dispatch(SaveGroupSuccess(group));
|
store.dispatch(SaveGroupSuccess(group));
|
||||||
}
|
}
|
||||||
final groupUIState = store.state.groupUIState;
|
action.completer.complete();
|
||||||
if (groupUIState.saveCompleter != null) {
|
|
||||||
groupUIState.saveCompleter.complete(group);
|
|
||||||
}
|
|
||||||
}).catchError((Object error) {
|
}).catchError((Object error) {
|
||||||
print(error);
|
print(error);
|
||||||
store.dispatch(SaveGroupFailure(error));
|
store.dispatch(SaveGroupFailure(error));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue