Removed logs

This commit is contained in:
2025-01-07 14:46:29 +01:00
parent cd190132f9
commit 2c175ad1b2

View File

@@ -13,7 +13,6 @@ const items = ref([])
const item = ref({})
const setupPage = async () => {
console.log('setupPage')
if(route.params.mode) mode.value = route.params.mode
if(mode.value === "show") {
@@ -23,10 +22,8 @@ const setupPage = async () => {
//Load Data for Edit
const data = JSON.stringify((await supabase.from(type).select().eq("id", route.params.id).single()).data)
//await useSupabaseSelectSingle(type, route.params.id)
console.log(JSON.parse(data))
item.value = data
console.log(item.value)
} else if(mode.value === "create") {
//Load Data for Create
item.value = JSON.stringify({})