cleanup
This commit is contained in:
parent
19f969c18c
commit
4bb7d214e8
4 changed files with 139 additions and 196 deletions
|
|
@ -54,6 +54,7 @@
|
|||
const savedFlightParameters = savedData.flight_parameters;
|
||||
|
||||
// Compare flight parameters excluding launch_datetime
|
||||
console.log("Comparing flight parameters:", flightParameters, savedFlightParameters);
|
||||
return JSON.stringify(flightParameters) !== JSON.stringify(savedFlightParameters);
|
||||
}
|
||||
|
||||
|
|
@ -112,6 +113,7 @@
|
|||
$FlightParametersStore = selectedScenario.template_data.flight_parameters;
|
||||
scenarioUnsaved = false;
|
||||
writeLocalStorage("scenario", $ScenarioStore);
|
||||
writeLocalStorage("flightParameters", $FlightParametersStore);
|
||||
if (showToast) {
|
||||
addToast({
|
||||
header: "Сценарий применен",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue