Skip to content

Commit 79c00cd

Browse files
committed
fix: TT-344 handling error from subscription
1 parent adcc876 commit 79c00cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/app/modules/time-entries/pages/time-entries.component.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ export class TimeEntriesComponent implements OnInit, OnDestroy, AfterViewInit {
195195
}
196196
onDisplayModeChange() {
197197
this.displayGridView = !this.displayGridView;
198+
this.dtTrigger = new Subject();
199+
this.dtTrigger.next();
198200
}
199201
removeEntry() {
200202
this.store.dispatch(new entryActions.DeleteEntry(this.idToDelete));

0 commit comments

Comments
 (0)