mirror of
https://github.com/LaconicNetwork/laconic.com.git
synced 2026-04-19 12:34:08 +00:00
Signed-off-by: Traxus <shyidx@gmail.com>
This commit is contained in:
parent
87a4222f25
commit
0bba1348ad
@ -121,7 +121,7 @@ const BlogIndexPage = ({
|
||||
|
||||
let queriedPostsHasResults = false
|
||||
|
||||
if ('pages' in queriedPosts === true) {
|
||||
if (typeof queriedPosts !== 'undefined' && 'pages' in queriedPosts === true) {
|
||||
if (0 in queriedPosts.pages === true) {
|
||||
if ('pagination' in queriedPosts.pages[0]) {
|
||||
if ('total' in queriedPosts.pages[0].pagination) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user