Minor Changes

This commit is contained in:
2024-12-27 12:22:37 +01:00
parent 42686efbe7
commit d3c865a10f
2 changed files with 0 additions and 4 deletions

View File

@@ -69,7 +69,6 @@ setupCreate()
const setupQuery = () => {
if(route.query) {
console.log(route.query)
Object.keys(route.query).forEach(key => {
if(["customer","contract","plant","contact"].includes(key)){

View File

@@ -1,10 +1,7 @@
export const useZipCheck = async (zip) => {
const supabase = useSupabaseClient()
console.log((await supabase.from("citys").select().eq("zip",Number(zip)).maybeSingle()).data)
const result = (await supabase.from("citys").select().eq("zip",Number(zip)).maybeSingle()).data
return result ? result.short : null