Fix infinite collocation call loop
This commit is contained in:
parent
54c536e68c
commit
e1b302e2f5
|
@ -141,7 +141,7 @@ class SkeModal(ClickMessage):
|
||||||
elif type(data) is list:
|
elif type(data) is list:
|
||||||
window.console.log(data)
|
window.console.log(data)
|
||||||
# check if gf2 examples are loaded or not
|
# check if gf2 examples are loaded or not
|
||||||
if not data[0].gf2_check:
|
if not data[0].gf2_check and type(data[0]) is SkeExample:
|
||||||
# we get the data, we have to match it with available data on our gf2 examples API
|
# we get the data, we have to match it with available data on our gf2 examples API
|
||||||
match_gf2_examples(data, page_num, search_term, ske_index)
|
match_gf2_examples(data, page_num, search_term, ske_index)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user