From a2b3c47462f0cb96076f1abb48c07e96021147ba Mon Sep 17 00:00:00 2001 From: Frank Tovar Date: Thu, 5 Feb 2026 13:28:59 +0100 Subject: [PATCH] Restore admin delete chips during voting --- wwwroot/js/ui.js | 1 + 1 file changed, 1 insertion(+) diff --git a/wwwroot/js/ui.js b/wwwroot/js/ui.js index f712155..f70024d 100644 --- a/wwwroot/js/ui.js +++ b/wwwroot/js/ui.js @@ -152,6 +152,7 @@ export function renderVotes() { const li = buildCard(s, { showAuthor: true, allowEdit: canEdit, + allowDelete: !!state.me?.isAdmin, lockTitle, }); const hasVote = Object.prototype.hasOwnProperty.call(votesMap, s.id);