diff --git a/web/components/contract/contract-details.tsx b/web/components/contract/contract-details.tsx index 9d12496d..936f5e24 100644 --- a/web/components/contract/contract-details.tsx +++ b/web/components/contract/contract-details.tsx @@ -145,6 +145,15 @@ export function ContractDetails(props: { const user = useUser() const [open, setOpen] = useState(false) + const groupInfo = ( + + + + {groupToDisplay ? groupToDisplay.name : 'No group'} + + + ) + return ( @@ -166,19 +175,18 @@ export function ContractDetails(props: { {!disabled && } - + {disabled ? ( + groupInfo + ) : ( + + )}