mirror of https://github.com/FreeTubeApp/FreeTube
Clear cached subscription videos when removing all subscriptions (#2905)
This commit is contained in:
parent
d793a8bcda
commit
c1f257dd79
|
@ -106,6 +106,13 @@ export default Vue.extend({
|
|||
this.removeProfile(profile._id)
|
||||
}
|
||||
})
|
||||
|
||||
this.updateAllSubscriptionsList([])
|
||||
this.updateProfileSubscriptions({
|
||||
activeProfile: MAIN_PROFILE_ID,
|
||||
videoList: [],
|
||||
errorChannels: []
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -117,7 +124,9 @@ export default Vue.extend({
|
|||
'clearSessionSearchHistory',
|
||||
'updateProfile',
|
||||
'removeProfile',
|
||||
'updateActiveProfile'
|
||||
'updateActiveProfile',
|
||||
'updateAllSubscriptionsList',
|
||||
'updateProfileSubscriptions'
|
||||
])
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue