Skip to content

Commit 9e91d92

Browse files
authored
fix: TTA 183 get summary returns 404 at begginning of the month (#938)
Co-authored-by: Nicole Garcia <nicolsss>
1 parent c6c7f59 commit 9e91d92

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/app/modules/time-clock/store/entry.effects.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ export class EntryEffects {
4545
mergeMap(() =>
4646
this.entryService.summary().pipe(
4747
map((response) => {
48+
if (!response){
49+
this.toastrService.warning('Your summary information could not be loaded');
50+
}
4851
return new actions.LoadEntriesSummarySuccess(response);
4952
}),
5053
catchError((error) => {

0 commit comments

Comments
 (0)