- add methods for releasing datasets from submitter
All checks were successful
CI Pipeline / japa-tests (push) Successful in 54s
All checks were successful
CI Pipeline / japa-tests (push) Successful in 54s
- npm updates - side menu with child items - flash messages via HttpContext response (extended via macro)
This commit is contained in:
parent
e0ff71b117
commit
f403c3109f
37 changed files with 1020 additions and 482 deletions
|
@ -3,25 +3,23 @@ import { defineStore } from 'pinia';
|
|||
// import dayjs from 'dayjs';
|
||||
|
||||
export const TimeService = defineStore('map', {
|
||||
state: () => ({
|
||||
state: () => ({
|
||||
// dataset: {} as Dataset,
|
||||
mapService: new Map<string, any>(),
|
||||
}),
|
||||
actions: {
|
||||
|
||||
actions: {
|
||||
getMap(id: string) {
|
||||
return this.mapService.get(id);
|
||||
},
|
||||
|
||||
setMap(id: string, map) {
|
||||
this.mapService.set(id, map);
|
||||
|
||||
setMap(id: string, map) {
|
||||
this.mapService.set(id, map);
|
||||
},
|
||||
|
||||
hasMap(id: string): boolean {
|
||||
return this.mapService.has(id);
|
||||
},
|
||||
|
||||
|
||||
deleteMap(id: string): boolean {
|
||||
return this.mapService.delete(id);
|
||||
},
|
||||
|
@ -31,7 +29,5 @@ export const TimeService = defineStore('map', {
|
|||
// const to = dayjs(timespan.to);
|
||||
// return dayjs.duration(to.diff(from));
|
||||
// },
|
||||
|
||||
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue