FIX: correct online indicator for non interactive (#24364)

When introducing non interactive user avatar, the `chat-user-avatar__container` div has been omitted, which prevented the css to correctly apply.
This commit is contained in:
Joffrey JAFFEUX 2023-11-14 11:46:50 +01:00 committed by GitHub
parent b1cff6de6a
commit 016e91380c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -56,7 +56,9 @@ export default class ChatUserAvatar extends Component {
{{this.avatar}}
</a>
{{else}}
{{this.avatar}}
<span class="chat-user-avatar__container">
{{this.avatar}}
</span>
{{/if}}
</div>
</template>

View File

@ -42,7 +42,7 @@ module ChatSystemHelpers
in_reply_to_id: in_reply_to,
thread_id: thread_id,
guardian: last_user.guardian,
message: Faker::Lorem.words(number: 5).join(" "),
message: Faker::Alphanumeric.alpha(number: SiteSetting.chat_minimum_message_length),
)
raise "#{creator.inspect_steps.inspect}\n\n#{creator.inspect_steps.error}" if creator.failure?