diff --git a/client/stillbox/src/app/talkgroups/talkgroups.service.ts b/client/stillbox/src/app/talkgroups/talkgroups.service.ts index d132b23..fee62a3 100644 --- a/client/stillbox/src/app/talkgroups/talkgroups.service.ts +++ b/client/stillbox/src/app/talkgroups/talkgroups.service.ts @@ -59,7 +59,9 @@ export class TalkgroupService { } setShare(share: Share | null) { - this.fetchAll.next(share); + if (!this.authSvc.isAuth() && share !== null) { + this.fetchAll.next(share); + } } ngOnDestroy() {