DEV: Update deprecated Font Awesome icon names (#239)

This commit is contained in:
Kelv 2024-12-04 09:40:29 +08:00 committed by GitHub
parent 5b8d834332
commit 908526739d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 2 deletions

View File

@ -1,3 +1,4 @@
< 3.4.0.beta2-dev: 5b8d8343329e1cd9668189b6cb6fdfd676f4a28d
< 3.4.0.beta1-dev: e19808d4ad3f7d16cd9b93f315ca586f694e6288
< 3.3.0.beta1-dev: 2e17b03e9a435de0079ae1c2eed1b48a11ad16a9
3.1.999: 70fea6b66b68868aa4c00b45a169436deaa142a8

View File

@ -1,6 +1,6 @@
{{#if this.anyErrors}}
<div class="error">
{{d-icon "exclamation-triangle"}}
{{d-icon "triangle-exclamation"}}
<span class="error-message">
{{i18n "chat_integration.channels_with_errors"}}
</span>

View File

@ -12,7 +12,7 @@ enabled_site_setting :chat_integration_enabled
register_asset "stylesheets/chat-integration.scss"
register_svg_icon "rocket" if respond_to?(:register_svg_icon)
register_svg_icon "fa-arrow-circle-o-right" if respond_to?(:register_svg_icon)
register_svg_icon "arrow-circle-o-right" if respond_to?(:register_svg_icon)
# Site setting validators must be loaded before initialize
require_relative "lib/discourse_chat_integration/provider/slack/slack_enabled_setting_validator"