FIX: Illustrate post icon and translation not appearing correctly (#371)

This commit is contained in:
Keegan George 2023-12-19 12:55:43 -08:00 committed by GitHub
parent 7b4710d5c9
commit 5a84969c96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -141,7 +141,7 @@ module DiscourseAi
%w[post]
when "summarize"
%w[post]
when "illustrate_posts"
when "illustrate_post"
%w[composer]
else
%w[composer post]

View File

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