Shares #109
1 changed files with 3 additions and 1 deletions
|
@ -59,8 +59,10 @@ export class TalkgroupService {
|
||||||
}
|
}
|
||||||
|
|
||||||
setShare(share: Share | null) {
|
setShare(share: Share | null) {
|
||||||
|
if (!this.authSvc.isAuth() && share !== null) {
|
||||||
this.fetchAll.next(share);
|
this.fetchAll.next(share);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
ngOnDestroy() {
|
ngOnDestroy() {
|
||||||
this.subscriptions.unsubscribe();
|
this.subscriptions.unsubscribe();
|
||||||
|
|
Loading…
Add table
Reference in a new issue