mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-04 04:57:51 +00:00 
			
		
		
		
	This PR adds RTL support to the web widget for improved right-to-left language compatibility, updates colors, and cleans up code. Fixes https://linear.app/chatwoot/issue/CW-4089/rtl-issues-on-widget https://github.com/chatwoot/chatwoot/issues/9791 Other PR: https://github.com/chatwoot/chatwoot/pull/11016
		
			
				
	
	
		
			30 lines
		
	
	
		
			719 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			719 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
<script>
 | 
						|
import { mapGetters } from 'vuex';
 | 
						|
 | 
						|
import ChatFooter from '../components/ChatFooter.vue';
 | 
						|
import ConversationWrap from '../components/ConversationWrap.vue';
 | 
						|
 | 
						|
export default {
 | 
						|
  components: { ChatFooter, ConversationWrap },
 | 
						|
  computed: {
 | 
						|
    ...mapGetters({
 | 
						|
      groupedMessages: 'conversation/getGroupedConversation',
 | 
						|
    }),
 | 
						|
  },
 | 
						|
  mounted() {
 | 
						|
    this.$store.dispatch('conversation/setUserLastSeen');
 | 
						|
  },
 | 
						|
};
 | 
						|
</script>
 | 
						|
 | 
						|
<template>
 | 
						|
  <div
 | 
						|
    class="flex flex-col flex-1 overflow-hidden rounded-b-lg bg-n-slate-2 dark:bg-n-solid-1"
 | 
						|
  >
 | 
						|
    <div class="flex flex-1 overflow-auto">
 | 
						|
      <ConversationWrap :grouped-messages="groupedMessages" />
 | 
						|
    </div>
 | 
						|
    <ChatFooter class="px-5" />
 | 
						|
  </div>
 | 
						|
</template>
 |