mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2025-12-13 05:26:47 +00:00
feat: update visibility rule for edit button in EinundzwanzigPlebTable
This commit is contained in:
@@ -158,7 +158,7 @@ final class EinundzwanzigPlebTable extends PowerGridComponent
|
|||||||
return [
|
return [
|
||||||
// Hide button edit for ID 1
|
// Hide button edit for ID 1
|
||||||
Rule::button('edit')
|
Rule::button('edit')
|
||||||
->when(fn($row) => false)
|
->when(fn($row) => $row->application_for === null)
|
||||||
->hide(),
|
->hide(),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user