DEV: ensure far-copy icon is included in subset (#841)

This commit is contained in:
Kris 2024-10-16 12:32:13 -04:00 committed by GitHub
parent 7919173cba
commit 25cc03809a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ module DiscourseAi
Rails.root.join("plugins", "discourse-ai", "db", "fixtures", "ai_helper"), Rails.root.join("plugins", "discourse-ai", "db", "fixtures", "ai_helper"),
) )
additional_icons = %w[spell-check language images] additional_icons = %w[spell-check language images far-copy]
additional_icons.each { |icon| plugin.register_svg_icon(icon) } additional_icons.each { |icon| plugin.register_svg_icon(icon) }
plugin.add_to_serializer(:current_user, :can_use_assistant) do plugin.add_to_serializer(:current_user, :can_use_assistant) do