Allow patch authors to change the state of their patch

This commit is contained in:
Rūdolfs Ošiņš
2026-05-12 12:00:04 +02:00
parent 3fc73a0b89
commit 8a60f58ffc
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -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>