Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Spawnpoint stats not loading in newest Desktop Chrome #1363

Merged
merged 1 commit into from
Sep 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions static/madmin/templates/statistics/spawn_statistics.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@
return a["name"].toLowerCase() > b["name"].toLowerCase() ? 1 : -1;
});
$("select#geofence_type_selector_overkill").append($('<option>', { value: -1, text: "-- select geofence --" }));
for (fence in tmp_fences) {
$("select#geofence_type_selector_overkill").append($('<option>', { value: tmp_fences[fence].area_id, text: tmp_fences[fence].name + " [" + tmp_fences[fence].mode + "]" }));
for (fence_id in tmp_fences) {
$("select#geofence_type_selector_overkill").append($('<option>', { value: tmp_fences[fence_id].area_id, text: tmp_fences[fence_id].name + " [" + tmp_fences[fence_id].mode + "]" }));
}
// 1500000 is totally arbitrary number, it all depends from database, number of events, etc.
if (result.events.length * result.spawnpoints_count * mon_mitm_fences_count > 1500000) {
Expand Down
Loading