Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
co-authored by
renee-png
parent
1f3fd28159
commit
0264bc8ce4
@@ -44,8 +44,7 @@ export function ContactsLinkTab({
|
||||
|
||||
const load = async () => {
|
||||
setLoading(true);
|
||||
const { data, error } = await supabase
|
||||
.from(parentTable)
|
||||
const { data, error } = await (supabase.from(parentTable) as any)
|
||||
.select("id, role, contact:contacts(id, name, company, title, email, phone, contact_type, address_line1, city, state, postal_code)")
|
||||
.eq(fkColumn, parentId);
|
||||
if (error) toast.error(error.message);
|
||||
|
||||
Reference in New Issue
Block a user