Skip to content
Snippets Groups Projects
Commit cc8aeb54 authored by Alexis POYEN's avatar Alexis POYEN
Browse files

Fix : when selecting zone in flow keep it even on refresh

parent 47cb681f
No related branches found
No related tags found
No related merge requests found
Pipeline #6417 passed
......@@ -97,6 +97,7 @@ class ResultZoneComponent {
}
resultFlowTemplate(zone) {
let resultHandler = this;
let html = document.createElement("div");
html.classList = "card-list card-no-hover";
html.innerHTML = /* HTML */ `
......@@ -112,8 +113,11 @@ class ResultZoneComponent {
this.refreshSections(area);
document.getElementById("select-sections").value = zone.ID;
document.getElementById("select-areas").value = zone.AreaID;
resultHandler.areaDisplayed = area;
resultHandler.sectionDisplayed = area.Sections[0];
} else {
document.getElementById("select-areas").value = zone.ID;
resultHandler.areaDisplayed = area;
}
this.displayZoneResults(zone);
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment