Some Changes
This commit is contained in:
@@ -74,7 +74,7 @@
|
||||
<span v-else>{{row.name}}</span>
|
||||
</template>
|
||||
<template #projecttype-data="{row}">
|
||||
{{row.projecttype.name}}
|
||||
{{row.projecttype ? row.projecttype.name : ""}}
|
||||
</template>
|
||||
<template #phase-data="{row}">
|
||||
{{getActivePhaseLabel(row)}}
|
||||
@@ -222,7 +222,7 @@ const filteredRows = computed(() => {
|
||||
temp = temp.filter(i => i.phaseLabel !== "Abgeschlossen")
|
||||
}
|
||||
|
||||
temp = temp.filter(i => selectedTypes.value.includes(i.projecttype.id))
|
||||
temp = temp.filter(i => !i.projecttype || selectedTypes.value.includes(i.projecttype.id))
|
||||
|
||||
if(!searchString.value) {
|
||||
return temp
|
||||
|
||||
Reference in New Issue
Block a user