site.pages.find
doesn't behave as expected.
#4854
Unanswered
mhmood-sf
asked this question in
Question / Answer
Replies: 1 comment
-
No, it isn't.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Apparently,
site.pages
isn't really a native JS array, is it? I tried usingsite.pages.find
but instead of a single page object it keeps returning a_Query
object with a data field that contains ALL pages, instead of just returning the page I'm trying to find. I thought the variable was just a normal array of pages but it seems not, is this a bug or intended behaviour for whatever data type it is supposed to be?Beta Was this translation helpful? Give feedback.
All reactions