@@ -5,7 +5,9 @@
|
||||
import { ScanStationService, TrackService } from "@odit/lfk-client-js";
|
||||
import Toastify from "toastify-js";
|
||||
export let modal_open;
|
||||
export let new_station;
|
||||
export let current_stations;
|
||||
export let copy_modal_open;
|
||||
let tracks = [];
|
||||
TrackService.trackControllerGetAll().then((val) => {
|
||||
tracks = val;
|
||||
@@ -59,6 +61,8 @@
|
||||
}).showToast();
|
||||
current_stations.push(result);
|
||||
current_stations = current_stations;
|
||||
new_station=result;
|
||||
copy_modal_open=true;
|
||||
})
|
||||
.catch((err) => {
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user