We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 265ae8d commit 29a7076Copy full SHA for 29a7076
examples/angular/infinite-query-with-max-pages/src/app/components/example.component.html
@@ -4,9 +4,11 @@ <h3>4 projects per page</h3>
4
<h3>3 pages max</h3>
5
@if (query.isPending()) {
6
<p>Loading...</p>
7
- } @else if (query.isError()) {
+ }
8
+ @if (query.isError()) {
9
<span>Error: {{ query.error().message }}</span>
- } @else {
10
11
+ @if (query.isSuccess()) {
12
<div>
13
<button
14
(click)="query.fetchPreviousPage()"
0 commit comments