Added back child accounts dropdown

This commit is contained in:
RemixDev 2021-08-18 14:59:12 +02:00
parent 5ab8c9ff6c
commit e3711468c9
3 changed files with 2217 additions and 2461 deletions

File diff suppressed because one or more lines are too long

View File

@ -935,7 +935,9 @@ export default {
async login(arl, force = false) { async login(arl, force = false) {
toast(this.$t('toasts.loggingIn'), 'loading', false, 'login-toast') toast(this.$t('toasts.loggingIn'), 'loading', false, 'login-toast')
const data = await fetchData('login-arl', { arl, force, child: this.accountNum }, 'POST') 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) { switch (status) {
case 1: case 1:
case 3: case 3:

1962
yarn.lock

File diff suppressed because it is too large Load Diff