Allow non-admins to edit their cards during voting (title locked)

This commit is contained in:
2026-02-04 22:17:24 +01:00
parent a0bc7a7075
commit aaeb6a7c44

View File

@@ -118,7 +118,7 @@ export function renderAllSuggestions() {
const list = $("all-suggestions");
if (!list) return;
list.innerHTML = "";
const allowEdit = !!state.me?.isAdmin;
const allowEdit = true; // allow own edits (optional fields) in vote
const allowDelete = !!state.me?.isAdmin;
state.allSuggestions.forEach((s) =>
list.appendChild(