Update SettingsRelationManager.php
This commit is contained in:
1 parent
c8df6e22eb
commit
a628b140c1
1 file changed
+1
-1
+1
-1
@@ -177,7 +177,7 @@ class SettingsRelationManager extends RelationManager
|
||||
])
|
||||
->recordActions([
|
||||
EditAction::make()
|
||||
->disabled(fn (RelationManager $livewire) => $livewire->getOwnerRecord()->online),
|
||||
->disabled(fn (RelationManager $livewire) => ($livewire->getOwnerRecord() instanceof \App\Models\User) && $livewire->getOwnerRecord()->online),
|
||||
])
|
||||
->toolbarActions([]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user