Restore admin delete chips during voting

This commit is contained in:
2026-02-05 13:28:59 +01:00
parent 2b57813baa
commit a2b3c47462

View File

@@ -152,6 +152,7 @@ export function renderVotes() {
const li = buildCard(s, { const li = buildCard(s, {
showAuthor: true, showAuthor: true,
allowEdit: canEdit, allowEdit: canEdit,
allowDelete: !!state.me?.isAdmin,
lockTitle, lockTitle,
}); });
const hasVote = Object.prototype.hasOwnProperty.call(votesMap, s.id); const hasVote = Object.prototype.hasOwnProperty.call(votesMap, s.id);