IconColumn no response
. Not getting any icons showing or ray() output. What am i missing? Ive tried adding a null for default if thats needed as i dont want an icon if false, but no difference. I know im missing something simple per usual.
IconColumn::make('short_content')
->label('Short Content')
->options([
'heroicon-o-check-circle' => function ($record): bool {
ray([$record->short_version, $record->short_doc]);
return isset($record->short_version) || $record->short_doc;
},
])
->colors([
'success' => function ($record): bool {
ray([$record->short_version, $record->short_doc]);
return isset($record->short_version) }} $record->short_doc;
},
]),