Tasks und Vertragstyp fix #17
This commit is contained in:
@@ -20,7 +20,7 @@ const links = computed(() => {
|
||||
} else if (pin.type === "standardEntity") {
|
||||
return {
|
||||
label: pin.label,
|
||||
to: `/standardEntity/${pin.datatype}/show/${pin.id}`,
|
||||
to: pin.datatype === "tasks" ? `/tasks/show/${pin.id}` : `/standardEntity/${pin.datatype}/show/${pin.id}`,
|
||||
icon: pin.icon,
|
||||
pinned: true
|
||||
}
|
||||
@@ -47,7 +47,7 @@ const links = computed(() => {
|
||||
children: [
|
||||
...has("tasks") ? [{
|
||||
label: "Aufgaben",
|
||||
to: "/standardEntity/tasks",
|
||||
to: "/tasks",
|
||||
icon: "i-heroicons-rectangle-stack"
|
||||
}] : [],
|
||||
...true ? [{
|
||||
@@ -278,6 +278,10 @@ const links = computed(() => {
|
||||
label: "Projekttypen",
|
||||
to: "/projecttypes",
|
||||
icon: "i-heroicons-clipboard-document-list",
|
||||
}, {
|
||||
label: "Vertragstypen",
|
||||
to: "/standardEntity/contracttypes",
|
||||
icon: "i-heroicons-document-duplicate",
|
||||
}, {
|
||||
label: "Export",
|
||||
to: "/export",
|
||||
@@ -365,4 +369,4 @@ const buttonItems = computed(() =>
|
||||
</UAccordion>
|
||||
|
||||
<Calculator v-if="showCalculator" v-model="showCalculator"/>
|
||||
</template>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user