Added Dev Only Logging
This commit is contained in:
@@ -46,6 +46,7 @@ const loading = ref(true)
|
|||||||
const setupPage = async () => {
|
const setupPage = async () => {
|
||||||
if((mode.value === "show") && route.params.id){
|
if((mode.value === "show") && route.params.id){
|
||||||
itemInfo.value = await useSupabaseSelectSingle("incominginvoices",route.params.id,"*, files(*), vendor(*)")
|
itemInfo.value = await useSupabaseSelectSingle("incominginvoices",route.params.id,"*, files(*), vendor(*)")
|
||||||
|
if(process.dev) console.log(itemInfo.value)
|
||||||
currentDocument.value = await useFiles().selectDocument(itemInfo.value.files[0].id)
|
currentDocument.value = await useFiles().selectDocument(itemInfo.value.files[0].id)
|
||||||
}
|
}
|
||||||
loading.value = false
|
loading.value = false
|
||||||
|
|||||||
Reference in New Issue
Block a user