keanu-weblite/src/components/messages/ContactLeave.vue
N-Pex b1d47748c8 Use SASS module system
Get rid of all the SASS warnings/errors when building.
2025-05-19 10:25:46 +02:00

23 lines
No EOL
492 B
Vue

<template>
<!-- Contact left the chat -->
<div class="messageJoin">
{{ $t('message.user_left',{user: eventStateKeyDisplayName(event)}) }}
</div>
</template>
<script>
import messageMixin from "./messageMixin";
export default {
mixins: [messageMixin],
mounted() {
if(this.room.getJoinedMemberCount() === 0) {
this.$navigation.push({ name: "Home", params: { roomId: null } }, -1);
}
}
};
</script>
<style lang="scss">
@use "@/assets/css/chat.scss" as *;
</style>