Hide component in infolist conditionally
Hi, i'm trying to hide component in infolist if the relation is empty
my code (that show the relation) is this
what should the condition be like in hidden?
2 Replies
fn ($record) => $record->company === null)
seem doesn't works
dumping $infolist->record->company, i saw the relation
nevermind... i made a relation manager and it's better