Added back child accounts dropdown
This commit is contained in:
parent
5ab8c9ff6c
commit
e3711468c9
2712
public/js/bundle.js
2712
public/js/bundle.js
File diff suppressed because one or more lines are too long
@ -935,7 +935,9 @@ export default {
|
||||
async login(arl, force = false) {
|
||||
toast(this.$t('toasts.loggingIn'), 'loading', false, 'login-toast')
|
||||
const data = await fetchData('login-arl', { arl, force, child: this.accountNum }, 'POST')
|
||||
const { status, user } = data
|
||||
const { status, user, childs, currentChild } = data
|
||||
this.accounts = childs
|
||||
this.accountNum = currentChild
|
||||
switch (status) {
|
||||
case 1:
|
||||
case 3:
|
||||
|
Loading…
Reference in New Issue
Block a user