efc59bb43f
* Bug: Fix account_id in URLs * Fix accountMixin specs
14 lines
252 B
JavaScript
14 lines
252 B
JavaScript
import { mapGetters } from 'vuex';
|
|
|
|
export default {
|
|
computed: {
|
|
...mapGetters({
|
|
accountId: 'getCurrentAccountId',
|
|
}),
|
|
},
|
|
methods: {
|
|
addAccountScoping(url) {
|
|
return `/app/accounts/${this.accountId}/${url}`;
|
|
},
|
|
},
|
|
};
|