Whatsapp service updates

This commit is contained in:
Darren Clarke 2024-05-16 18:22:10 +02:00
parent e22a8e8d98
commit 3da103c010
16 changed files with 151 additions and 36 deletions

View file

@ -22,6 +22,7 @@ export const Detail: FC<DetailProps> = ({ service, row }) => {
[service]: { entity, table, displayName, displayFields: fields },
} = serviceConfig;
const id = row.id as string;
const token = row.token as string;
const deleteAction = generateDeleteAction({ entity, table });
const router = useRouter();
const { almostBlack } = colors;
@ -76,7 +77,9 @@ export const Detail: FC<DetailProps> = ({ service, row }) => {
name={field.name}
label={field.label}
getValue={field.getValue}
id={row["id"] as string}
refreshInterval={field.refreshInterval}
token={token}
verified={row.verified as boolean}
helperText={field.helperText}
/>
)}