Tasks und Vertragstyp fix #17
This commit is contained in:
@@ -8,7 +8,7 @@ const _useDashboard = () => {
|
||||
|
||||
defineShortcuts({
|
||||
'g-h': () => router.push('/'),
|
||||
'g-a': () => router.push('/standardEntity/tasks'),
|
||||
'g-a': () => router.push('/tasks'),
|
||||
'g-d': () => router.push('/files'),
|
||||
'g-k': () => router.push('/standardEntity/customers'),
|
||||
'g-l': () => router.push('/standardEntity/vendors'),
|
||||
@@ -31,4 +31,4 @@ const _useDashboard = () => {
|
||||
}
|
||||
}
|
||||
|
||||
export const useDashboard = createSharedComposable(_useDashboard)
|
||||
export const useDashboard = createSharedComposable(_useDashboard)
|
||||
|
||||
@@ -31,6 +31,18 @@ export const useRole = () => {
|
||||
label: "Verträge erstellen",
|
||||
parent: "contracts"
|
||||
},
|
||||
contracttypes: {
|
||||
label: "Vertragstypen",
|
||||
showToAllUsers: false
|
||||
},
|
||||
"contracttypes-viewAll": {
|
||||
label: "Alle Vertragstypen einsehen",
|
||||
parent: "contracttypes"
|
||||
},
|
||||
"contracttypes-create": {
|
||||
label: "Vertragstypen erstellen",
|
||||
parent: "contracttypes"
|
||||
},
|
||||
plants: {
|
||||
label: "Objekte",
|
||||
showToAllUsers: false
|
||||
@@ -306,4 +318,4 @@ export const useRole = () => {
|
||||
checkRight
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user