mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Apply to relation manager
This commit is contained in:
@@ -143,6 +143,7 @@ class RelationManager extends Component
|
||||
->filter(function ($record) {
|
||||
return Filament::can('delete', $record);
|
||||
})
|
||||
->map(fn ($record) => $record->getKey())
|
||||
->toArray(),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user