Display CobStateButton in every Patch tab

This commit is contained in:
Sebastian Martinez
2024-01-26 14:44:56 +00:00
committed by Rūdolfs Ošiņš
parent e31b5efe7d
commit a585c2264a
+1 -1
View File
@@ -689,7 +689,7 @@
{/if}
</div>
<Share {preferredSeeds} {publicExplorer} {baseUrl} />
{#if session && role.isDelegateOrAuthor(session.publicKey, project.delegates, patch.author.id) && view.name === "activity"}
{#if session && role.isDelegateOrAuthor(session.publicKey, project.delegates, patch.author.id)}
<CobStateButton
items={items.filter(([, state]) => !isEqual(state, patch.state))}
{selectedItem}