mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-03 20:48:07 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			252 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			252 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
import { mapGetters } from 'vuex';
 | 
						|
 | 
						|
export default {
 | 
						|
  computed: {
 | 
						|
    ...mapGetters({
 | 
						|
      accountId: 'getCurrentAccountId',
 | 
						|
    }),
 | 
						|
  },
 | 
						|
  methods: {
 | 
						|
    addAccountScoping(url) {
 | 
						|
      return `/app/accounts/${this.accountId}/${url}`;
 | 
						|
    },
 | 
						|
  },
 | 
						|
};
 |