mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-16 11:50:42 +08:00
Allow patch authors to change the state of their patch
This commit is contained in:
@@ -98,9 +98,10 @@
|
||||
onSelect={newState => {
|
||||
void saveState(newState);
|
||||
}}
|
||||
disabled={!roles.isDelegate(
|
||||
disabled={!roles.isDelegateOrAuthor(
|
||||
config.publicKey,
|
||||
repo.delegates.map(d => d.did),
|
||||
patch.author.did,
|
||||
)} />
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user