Added Archived Showing,
Fixed Archived Filtering
This commit is contained in:
@@ -85,7 +85,12 @@ const selectedFilters = ref(dataType.filters.filter(i => i.default).map(i => i.n
|
||||
|
||||
const filteredRows = computed(() => {
|
||||
|
||||
let tempItems = props.items
|
||||
let tempItems = props.items.map(i => {
|
||||
return {
|
||||
...i,
|
||||
class: i.archived ? 'bg-red-500/50 dark:bg-red-400/50' : null
|
||||
}
|
||||
})
|
||||
|
||||
if(selectedFilters.value.length > 0) {
|
||||
selectedFilters.value.forEach(filterName => {
|
||||
|
||||
Reference in New Issue
Block a user