Select Git revision
run_helm_test.sh
collaboration.service.ts 518 B
import { Injectable } from '@angular/core';
import { BehaviorSubject, Observable } from 'rxjs';
@Injectable()
export class CollaborationService {
showAnfrageFormular$: BehaviorSubject<boolean> = new BehaviorSubject(false);
public isAnfrageFormularVisible(): Observable<boolean> {
return this.showAnfrageFormular$.asObservable();
}
public showAnfrageFormular(): void {
this.showAnfrageFormular$.next(true);
}
public hideAnfrageFormular(): void {
this.showAnfrageFormular$.next(false);
}
}