Skip to content

Commit 7ae03bc

Browse files
committed
emoji
1 parent b8ea189 commit 7ae03bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

assets/javascripts/discourse-user-notes/connectors/user-card-post-names/show-user-notes-on-card.gjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Component from "@glimmer/component";
22
import { action } from "@ember/object";
33
import { service } from "@ember/service";
44
import DButton from "discourse/components/d-button";
5-
import { emojiUrlFor } from "discourse/lib/text";
5+
import emoji from "discourse/helpers/emoji";
66
import icon from "discourse-common/helpers/d-icon";
77
import I18n from "I18n";
88
import { showUserNotes } from "discourse/plugins/discourse-user-notes/discourse-user-notes/lib/user-notes";
@@ -43,7 +43,7 @@ export default class extends Component {
4343
class="btn-flat"
4444
>
4545
{{#if this.siteSettings.enable_emoji}}
46-
<img src={{emojiUrlFor "pencil"}} alt="pencil" class="emoji" />
46+
{{emoji "pencil"}}
4747
{{else}}
4848
{{icon "sticky-note"}}
4949
{{/if}}

0 commit comments

Comments
 (0)