Bug: Fix account_id in URLs (#894)
* Bug: Fix account_id in URLs * Fix accountMixin specs
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import auth from '../api/auth';
|
||||
import { mapGetters } from 'vuex';
|
||||
|
||||
export default {
|
||||
computed: {
|
||||
accountId() {
|
||||
return auth.getCurrentUser().account_id;
|
||||
},
|
||||
...mapGetters({
|
||||
accountId: 'getCurrentAccountId',
|
||||
}),
|
||||
},
|
||||
methods: {
|
||||
addAccountScoping(url) {
|
||||
|
||||
Reference in New Issue
Block a user