BugFix: IP Adresse & Subject instead of BehaviourSubject

This commit is contained in:
2024-09-20 15:59:45 +02:00
parent 3e84b82c92
commit 16b880384b
16 changed files with 36 additions and 330 deletions

View File

@@ -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() {}