debug: add more console logs to PersonDetailView
This commit is contained in:
@@ -157,7 +157,9 @@ onMounted(async () => {
|
||||
const uuid = route.params.uuid as string
|
||||
console.log('PersonDetailView mounted, uuid:', uuid)
|
||||
try {
|
||||
console.log('Calling getPeople with uuid:', uuid)
|
||||
const people: any = await invoke('getPeople', { page: 1, perPage: 1000 })
|
||||
console.log('getPeople raw result:', JSON.stringify(people).slice(0, 200))
|
||||
console.log('getPeople result count:', Array.isArray(people) ? people.length : 'not array')
|
||||
peopleCount.value = Array.isArray(people) ? people.length : 0
|
||||
const found = (Array.isArray(people) ? people : []).find((p: any) => p.identity_uuid === uuid)
|
||||
|
||||
Reference in New Issue
Block a user