Loading src/app/common/components/avatar/avatar.ts +1 −1 Original line number Original line Diff line number Diff line import { Component, EventEmitter, ChangeDetectorRef } from '@angular/core'; import { Component, EventEmitter } from '@angular/core'; import { UserAvatarService } from '../../services/user-avatar.service'; import { UserAvatarService } from '../../services/user-avatar.service'; import { of, Observable } from 'rxjs'; import { of, Observable } from 'rxjs'; Loading src/app/common/services/user-avatar.service.ts +4 −1 Original line number Original line Diff line number Diff line /** * @author Ben Hayward * @desc Singleton service used to store the current user avatar as a BehaviorSubject. */ import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core'; import { BehaviorSubject } from 'rxjs'; import { BehaviorSubject } from 'rxjs'; // Singleton @Injectable({ @Injectable({ providedIn: 'root', providedIn: 'root', }) }) Loading Loading
src/app/common/components/avatar/avatar.ts +1 −1 Original line number Original line Diff line number Diff line import { Component, EventEmitter, ChangeDetectorRef } from '@angular/core'; import { Component, EventEmitter } from '@angular/core'; import { UserAvatarService } from '../../services/user-avatar.service'; import { UserAvatarService } from '../../services/user-avatar.service'; import { of, Observable } from 'rxjs'; import { of, Observable } from 'rxjs'; Loading
src/app/common/services/user-avatar.service.ts +4 −1 Original line number Original line Diff line number Diff line /** * @author Ben Hayward * @desc Singleton service used to store the current user avatar as a BehaviorSubject. */ import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core'; import { BehaviorSubject } from 'rxjs'; import { BehaviorSubject } from 'rxjs'; // Singleton @Injectable({ @Injectable({ providedIn: 'root', providedIn: 'root', }) }) Loading