FIX: Illustrate post icon and translation not appearing correctly (#371)
This commit is contained in:
parent
7b4710d5c9
commit
5a84969c96
|
@ -141,7 +141,7 @@ module DiscourseAi
|
||||||
%w[post]
|
%w[post]
|
||||||
when "summarize"
|
when "summarize"
|
||||||
%w[post]
|
%w[post]
|
||||||
when "illustrate_posts"
|
when "illustrate_post"
|
||||||
%w[composer]
|
%w[composer]
|
||||||
else
|
else
|
||||||
%w[composer post]
|
%w[composer post]
|
||||||
|
|
|
@ -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]
|
additional_icons = %w[spell-check language images]
|
||||||
additional_icons.each { |icon| plugin.register_svg_icon(icon) }
|
additional_icons.each { |icon| plugin.register_svg_icon(icon) }
|
||||||
|
|
||||||
plugin.on(:chat_thread_created) do |thread|
|
plugin.on(:chat_thread_created) do |thread|
|
||||||
|
|
Loading…
Reference in New Issue