diff --git a/packages/engine-frontend/components/ResourceDropdownMenu.tsx b/packages/engine-frontend/components/ResourceDropdownMenu.tsx index 8fe370e2..e9b05154 100644 --- a/packages/engine-frontend/components/ResourceDropdownMenu.tsx +++ b/packages/engine-frontend/components/ResourceDropdownMenu.tsx @@ -97,54 +97,29 @@ export function ResourceDropdownMenu( // WithProviderConnect but also don't know of a better option {(connectProps) => ( - - +
+ {debug && ( - - - {debug && ( - <> - {props.resource.id} - - - { - // Need to explicitly close dropdown menu - // otherwise pointer:none will remain on the body for some reason - // if a dialog inside opens immediately... (e.g. editing postgres) - // setOpen(false) - connectProps.openConnect() - e.preventDefault() - }}> - - {connectProps.label} - - syncResourceMutate()}> - - Sync - - - - - )} - - deleteResource.mutate({id: props.resource.id})}> - - Delete - - - - + )} + +
)}
)