From 73d6b9fcad581ed81dc617f055c8ac25c4d3ab5e Mon Sep 17 00:00:00 2001 From: Penar Musaraj Date: Mon, 17 Dec 2018 15:09:50 -0500 Subject: [PATCH] Add icon to SVG subset when emojis are off --- plugin.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin.rb b/plugin.rb index 8bec6a1..d7cc5cb 100644 --- a/plugin.rb +++ b/plugin.rb @@ -8,6 +8,8 @@ enabled_site_setting :staff_notes_enabled register_asset 'stylesheets/staff_notes.scss' +register_svg_icon "sticky-note" if respond_to?(:register_svg_icon) + STAFF_NOTE_COUNT_FIELD = "staff_notes_count" after_initialize do