Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: display warning when no summary info
  • Loading branch information
Nicole Garcia committed Oct 4, 2022
commit c622df3a91ceafaf6e3309d747889b904f0dc38c
3 changes: 3 additions & 0 deletions src/app/modules/time-clock/store/entry.effects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ export class EntryEffects {
mergeMap(() =>
this.entryService.summary().pipe(
map((response) => {
if(!response){
this.toastrService.warning('Your summary information could not be loaded');
}
return new actions.LoadEntriesSummarySuccess(response);
}),
catchError((error) => {
Expand Down