Restore admin delete chips during voting
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user