🐛 Fixed loading not hiding when < 10 results

This commit is contained in:
Florian Sylvain
2022-01-09 22:14:53 +01:00
parent 693debefbe
commit 8284d6b50b
+1 -1
View File
@@ -214,7 +214,7 @@ function initMap(results) {
result.push(obj) result.push(obj)
} }
i += 1 i += 1
if (i === 10) { if (i === results.data.length) {
initMapVisuals(result) initMapVisuals(result)
} }
}) })