Skip to content

Commit f5593f4

Browse files
committed
Fix settings dataLoadError flag to true at catchError step
1 parent 8b986a3 commit f5593f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng-generate/components/shared/methods/remote-handling/requestData.ts.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ private requestData() {
100100
this.dataSource.paginator = this.paginator;
101101
}),
102102
catchError((error: any) => {
103-
this.dataLoadError = false;
103+
this.dataLoadError = true;
104104
<% if (options.componentType === 'card') { %>
105105
this.dataToShow = [];
106106
this.dataSource.data = [];

0 commit comments

Comments
 (0)