feat: allow to crean data in case of load error

This commit is contained in:
Azgaar 2024-10-01 21:20:29 +02:00 committed by sofronaspe
parent 6af79e1c98
commit 9da6f22130
4 changed files with 8 additions and 5 deletions

View file

@ -702,7 +702,7 @@ async function generate(options) {
title: "Generation error",
width: "32em",
buttons: {
"Cleanup data": cleanupData,
"Clear cache": () => cleanupData(),
Regenerate: function () {
regenerateMap("generation error");
$(this).dialog("close");