Skip to content

Commit

Permalink
fix: topic event deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
julianlam committed Aug 25, 2021
1 parent 324c7d4 commit 1ee92c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/src/modules/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@
html += `<span class="timeago timeline-text" title="${event.timestampISO}"></span>`;

if (this.privileges.isAdminOrMod) {
html += `&nbsp;<span component="topic/event/delete" data-topic-event-id="{id}" class="timeline-text pointer" title="[[topic:delete-event]]"><i class="fa fa-trash"></i></span>`;
html += `&nbsp;<span component="topic/event/delete" data-topic-event-id="${event.id}" class="timeline-text pointer" title="[[topic:delete-event]]"><i class="fa fa-trash"></i></span>`;
}

return html;
Expand Down

0 comments on commit 1ee92c2

Please sign in to comment.