Deprecated absencerequests as non Standard Entity
Added Respective Rights Changes to show title
This commit is contained in:
@@ -76,8 +76,6 @@ const loadOptions = async () => {
|
||||
}
|
||||
})
|
||||
|
||||
console.log(optionsToLoad)
|
||||
|
||||
for await(const option of optionsToLoad) {
|
||||
if(option.option === "countrys") {
|
||||
loadedOptions.value[option.option] = (await supabase.from("countrys").select()).data
|
||||
@@ -91,8 +89,6 @@ const loadOptions = async () => {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
console.log(loadedOptions.value)
|
||||
}
|
||||
|
||||
loadOptions()
|
||||
|
||||
@@ -90,7 +90,7 @@ const renderedPhases = computed(() => {
|
||||
<h1
|
||||
v-if="item"
|
||||
:class="['text-xl','font-medium']"
|
||||
>{{item ? `${dataType.labelSingle}: ${props.item[dataType.templateColumns.find(i => i.title).key]}`: '' }}</h1>
|
||||
>{{item ? `${dataType.labelSingle}${props.item[dataType.templateColumns.find(i => i.title).key] ? ': ' + props.item[dataType.templateColumns.find(i => i.title).key] : ''}`: '' }}</h1>
|
||||
</template>
|
||||
<template #right>
|
||||
<ButtonWithConfirm
|
||||
|
||||
@@ -102,11 +102,11 @@ const links = computed(() => {
|
||||
to: "/workingtimes",
|
||||
icon: "i-heroicons-clock"
|
||||
}] : [],
|
||||
{
|
||||
... role.checkRight("absencerequests") ? [{
|
||||
label: "Abwesenheiten",
|
||||
to: "/absenceRequests",
|
||||
to: "/standardEntity/absencerequests",
|
||||
icon: "i-heroicons-document-text"
|
||||
},
|
||||
}] : [],
|
||||
]
|
||||
},
|
||||
... profileStore.ownTenant.features.accounting ? [{
|
||||
|
||||
Reference in New Issue
Block a user