Show pager if infinite scroll fails

This is in addition to displaying it when JavaScript is disabled.
This commit is contained in:
Badri Sunderarajan 2020-03-11 16:48:24 +05:30
parent 50fa31ea98
commit f9f0db645d

View file

@ -37,6 +37,7 @@
</div>
</infinite-loading>
</ClientOnly>
<Pager v-if="!loadedPosts" :info="$page.posts.pageInfo" linkClass="button" style="height: 5rem; text-align:center;" />
<noscript>
<Pager :info="$page.posts.pageInfo" linkClass="button" style="height: 5rem; text-align:center;" />
</noscript>