mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-03 04:27:53 +00:00
15 lines
253 B
JavaScript
15 lines
253 B
JavaScript
import auth from '../api/auth';
|
|
|
|
export default {
|
|
computed: {
|
|
accountId() {
|
|
return auth.getCurrentUser().account_id;
|
|
},
|
|
},
|
|
methods: {
|
|
addAccountScoping(url) {
|
|
return `/app/accounts/${this.accountId}/${url}`;
|
|
},
|
|
},
|
|
};
|