Added station token copy modal

ref #93
This commit is contained in:
2021-03-10 19:55:32 +01:00
parent 870e772da2
commit 88566719ec
4 changed files with 142 additions and 3 deletions

View File

@@ -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) => {
//