mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-23 05:00:54 +03:00
Subscriptions are now reloaded on subscribe/unsubscribe in PostsService
This commit is contained in:
@@ -458,6 +458,12 @@ export class PostsService implements CanActivate {
|
||||
this.config_reloaded.next(true);
|
||||
}
|
||||
|
||||
reloadSubscriptions() {
|
||||
this.getAllSubscriptions().subscribe(res => {
|
||||
this.subscriptions = res['subscriptions'];
|
||||
});
|
||||
}
|
||||
|
||||
adminExists() {
|
||||
return this.http.post(this.path + 'auth/adminExists', {}, this.httpOptions);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user