mirror of
https://gitlab.com/RemixDev/deezer-js.git
synced 2025-01-29 17:48:29 +00:00
Merge branch 'independent-acc-child-dropdown-fix' into 'main'
don't show child dropdown if logging into independent account See merge request RemixDev/deezer-js!2
This commit is contained in:
commit
14fa1bd807
|
@ -104,7 +104,7 @@ class Deezer{
|
|||
|
||||
async _post_login(user_data){
|
||||
this.childs = []
|
||||
let family = user_data.USER.MULTI_ACCOUNT.ENABLED
|
||||
let family = user_data.USER.MULTI_ACCOUNT.ENABLED && !user_data.USER.MULTI_ACCOUNT.IS_SUB_ACCOUNT
|
||||
if (family){
|
||||
let childs = await this.gw.get_child_accounts()
|
||||
childs.forEach(child => {
|
||||
|
|
Loading…
Reference in a new issue