Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
XAService functionality
  • Loading branch information
jos15101 committed Mar 26, 2020
1 parent 8286cb8 commit 78a62f3
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/app/services/XAService.service.ts
Expand Up @@ -6,12 +6,10 @@ import { Injectable } from '@angular/core';
})
export class XAService {

// private selectedXA = new BehaviorSubject<string>(null);
// xa$ = this.selectedXA.asObservable();
private selectedXA = new BehaviorSubject<string>(null);
xa$ = this.selectedXA.asObservable();

selectedXA: string;

changeXA(xa: string) {
this.selectedXA = xa;
changeXA(newXA: string) {
this.selectedXA.next(newXA);
}
}

0 comments on commit 78a62f3

Please sign in to comment.