WIP - use objection and working lookup field to owner
This commit is contained in:
@@ -56,7 +56,8 @@ const filteredRecords = computed(() => {
|
||||
const fetchRecords = async () => {
|
||||
loading.value = true
|
||||
try {
|
||||
const response = await api.get(`${props.baseUrl}/${relationObject.value}`)
|
||||
const endpoint = `${props.baseUrl}/${relationObject.value}/records`
|
||||
const response = await api.get(endpoint)
|
||||
records.value = response || []
|
||||
|
||||
// If we have a modelValue, find the selected record
|
||||
|
||||
Reference in New Issue
Block a user