mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-10-31 11:08:04 +00:00 
			
		
		
		
	 0667d9f016
			
		
	
	0667d9f016
	
	
	
		
			
			Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com> Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
		
			
				
	
	
		
			36 lines
		
	
	
		
			632 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			632 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
| <template>
 | |
|   <div class="flex">
 | |
|     <span
 | |
|       v-for="(user, index) in users"
 | |
|       :key="user.id"
 | |
|       :class="
 | |
|         `${
 | |
|           index ? '-ml-4' : ''
 | |
|         } inline-block rounded-full text-white shadow-solid`
 | |
|       "
 | |
|     >
 | |
|       <thumbnail
 | |
|         size="40px"
 | |
|         :username="user.name"
 | |
|         :src="user.avatar"
 | |
|         has-border
 | |
|       />
 | |
|     </span>
 | |
|   </div>
 | |
| </template>
 | |
| 
 | |
| <script>
 | |
| import Thumbnail from 'dashboard/components/widgets/Thumbnail.vue';
 | |
| 
 | |
| export default {
 | |
|   name: 'GroupedAvatars',
 | |
|   components: { Thumbnail },
 | |
|   props: {
 | |
|     users: {
 | |
|       type: Array,
 | |
|       default: () => [],
 | |
|     },
 | |
|   },
 | |
| };
 | |
| </script>
 |