Skip to content

Commit

Permalink
refactor: use other icons for poll controls
Browse files Browse the repository at this point in the history
Use the same as when editing or deleting discussions.
  • Loading branch information
DavideIadeluca committed Feb 27, 2024
1 parent 830e203 commit a6cfaaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/src/forum/utils/PollControls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default {
if (poll.canEdit()) {
items.add(
'edit',
<Button icon="fas fa-pen" onclick={this.editAction.bind(this, poll)}>
<Button icon="fas fa-pencil-alt" onclick={this.editAction.bind(this, poll)}>
{app.translator.trans(`fof-polls.forum.poll_controls.edit_label`)}
</Button>
);
Expand All @@ -67,7 +67,7 @@ export default {
if (poll.canDelete()) {
items.add(
'delete',
<Button icon="fas fa-times" onclick={this.deleteAction.bind(this, poll)}>
<Button icon="far fa-trash-alt" onclick={this.deleteAction.bind(this, poll)}>
{app.translator.trans(`fof-polls.forum.poll_controls.delete_label`)}
</Button>
);
Expand Down

0 comments on commit a6cfaaf

Please sign in to comment.