mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-10-31 19:17:48 +00:00 
			
		
		
		
	 cab5a3e53b
			
		
	
	cab5a3e53b
	
	
	
		
			
			When creating a conversation from the contacts tab now we can go directly to the conversation by clicking the link in the success message Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
		
			
				
	
	
		
			39 lines
		
	
	
		
			705 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			705 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
| <template>
 | |
|   <div>
 | |
|     <div class="ui-snackbar">
 | |
|       <div class="ui-snackbar-text">
 | |
|         {{ message }}
 | |
|       </div>
 | |
|       <div v-if="action" class="ui-snackbar-action">
 | |
|         <router-link v-if="action.type == 'link'" :to="action.to">
 | |
|           {{ action.message }}
 | |
|         </router-link>
 | |
|       </div>
 | |
|     </div>
 | |
|   </div>
 | |
| </template>
 | |
| 
 | |
| <script>
 | |
| export default {
 | |
|   props: {
 | |
|     message: { type: String, default: '' },
 | |
|     action: {
 | |
|       type: Object,
 | |
|       default: () => {},
 | |
|     },
 | |
|     showButton: Boolean,
 | |
|     duration: {
 | |
|       type: [String, Number],
 | |
|       default: 3000,
 | |
|     },
 | |
|   },
 | |
|   data() {
 | |
|     return {
 | |
|       toggleAfterTimeout: false,
 | |
|     };
 | |
|   },
 | |
|   mounted() {},
 | |
|   methods: {},
 | |
| };
 | |
| </script>
 |