Removed unnecessary console.log
This commit is contained in:
@@ -247,7 +247,6 @@ const showDrafts = ref(false)
|
|||||||
const filteredRows = computed(() => {
|
const filteredRows = computed(() => {
|
||||||
let items = [...dataStore.incominginvoices.map(i => {return {...i, type: "incomingInvoice"}}),...dataStore.createddocuments]
|
let items = [...dataStore.incominginvoices.map(i => {return {...i, type: "incomingInvoice"}}),...dataStore.createddocuments]
|
||||||
|
|
||||||
console.log(items[0].type)
|
|
||||||
items = items.filter(i => types.value.find(x => x.key === i.type))
|
items = items.filter(i => types.value.find(x => x.key === i.type))
|
||||||
|
|
||||||
if(showDrafts.value === true) {
|
if(showDrafts.value === true) {
|
||||||
|
|||||||
Reference in New Issue
Block a user