Compare commits
2 Commits
fa7c71064e
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 97be9a2867 | |||
| a7271a5a7a |
@@ -1,9 +1,9 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import Papa, { ParseRemoteConfig, ParseResult } from 'papaparse';
|
||||
import { ReplaySubject } from 'rxjs';
|
||||
import { KeyValue } from '../models/key-value';
|
||||
import { Csv } from '../enums/csv';
|
||||
import { Milestone } from '../enums/milestone';
|
||||
import { KeyValue } from '../models/key-value';
|
||||
|
||||
@Injectable({ providedIn: 'root' })
|
||||
export class DataService {
|
||||
@@ -22,7 +22,7 @@ export class DataService {
|
||||
readonly Schools$ = this.schools.asObservable();
|
||||
readonly Schools = () => this._schools;
|
||||
|
||||
private _years = Array(2023 - 2015 + 1)
|
||||
private _years = Array(2024 - 2015 + 1)
|
||||
.fill(0)
|
||||
.map((_, index) => 2015 + index);
|
||||
private years = new ReplaySubject<KeyValue[]>(1);
|
||||
|
||||
Reference in New Issue
Block a user