Skip to content

Commit

Permalink
add refresh of workshops list on status change (onLeaveWorkshops) for…
Browse files Browse the repository at this point in the history
… Parent role (#761)
  • Loading branch information
kokole110 authored Jan 14, 2022
1 parent cff32e0 commit ce1fd8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/shared/store/user.state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,7 @@ export class UserState {
@Action(OnUpdateApplicationSuccess)
onUpdateApplicationSuccess({ dispatch }: StateContext<UserStateModel>, { payload }: OnUpdateApplicationSuccess): void {
dispatch(new ShowMessageBar({ message: 'Статус заявки успішно змінено', type: 'success' }));
dispatch(new GetApplicationsByParentId(payload.parentId));
}
@Action(CreateRating)
createRating({ dispatch }: StateContext<UserStateModel>, { payload }: CreateRating): Observable<object> {
Expand Down

0 comments on commit ce1fd8f

Please sign in to comment.