BugFix: IP Adresse & Subject instead of BehaviourSubject
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { BehaviorSubject } from 'rxjs';
|
||||
import { Subject } from 'rxjs';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class SharedService {
|
||||
private profilePhotoSource = new BehaviorSubject<string>(null);
|
||||
private profilePhotoSource = new Subject<string>();
|
||||
currentProfilePhoto = this.profilePhotoSource.asObservable();
|
||||
|
||||
constructor() {}
|
||||
|
||||
Reference in New Issue
Block a user