optimize UI
hide maintenance
This commit is contained in:
parent
8e64b549d7
commit
2c541eb5aa
18 changed files with 30 additions and 26 deletions
|
@ -125,7 +125,9 @@ export const useNavigationStore = defineStore("navigation", {
|
|||
? [{ key: "respiratory_mission", title: "Atemschutz-Einsätze" }]
|
||||
: []),
|
||||
...(abilityStore.can("create", "unit", "inspection") ? [{ key: "inspection", title: "Prüfungen" }] : []),
|
||||
...(abilityStore.can("read", "unit", "maintenance") ? [{ key: "maintenance", title: "Wartungen" }] : []),
|
||||
...(false && abilityStore.can("read", "unit", "maintenance")
|
||||
? [{ key: "maintenance", title: "Wartungen" }]
|
||||
: []),
|
||||
...(abilityStore.can("read", "unit", "damage_report")
|
||||
? [{ key: "damage_report", title: "Schadensmeldungen" }]
|
||||
: []),
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { defineStore } from "pinia";
|
||||
import { v4 as uuid } from "uuid";
|
||||
import { SocketManager } from "../../socketManager";
|
||||
import { SocketConnectionTypes } from "../../enums/socketEnum";
|
||||
import { SocketManager } from "@/socketManager";
|
||||
import { SocketConnectionTypes } from "@/enums/socketEnum";
|
||||
import { useNotificationStore } from "../notification";
|
||||
|
||||
export const useScannerStore = defineStore("scanner", {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue