Resource's table actions affect RelationManager's table actions

RelationManager reuses table from Resource, overriding actions()
public function table(Table $table): Table
{
return Resource::table($table)
->actions([
// ViewAction::make() commented out
EditAction::make()
]);
}
public function table(Table $table): Table
{
return Resource::table($table)
->actions([
// ViewAction::make() commented out
EditAction::make()
]);
}
Resource table has these actions()
ViewAction::make(),
EditAction::make(),
ViewAction::make(),
EditAction::make(),
when I click on a row in the RelationManager, it triggers the View modal instead of the Edit modal. Is that expected?
0 Replies
No replies yetBe the first to reply to this messageJoin