Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | 4x 4x 4x 4x 4x 4x 4x 4x 9x | import { Component } from "@angular/core"
import { Store } from "@ngrx/store"
import { Observable } from "rxjs"
import { CcState } from "../../../../codeCharta.model"
import { MatchingFilesCounter, matchingFilesCounterSelector } from "./selectors/matchingFilesCounter.selector"
import { ThumbTackButtonComponent } from "../thumbTackButton/thumbTackButton.component"
import { SortingButtonComponent } from "../sortingButton/sortingButton.component"
import { SortingOptionComponent } from "../sortingOption/sortingOption.component"
import { AsyncPipe } from "@angular/common"
@Component({
selector: "cc-matching-files-counter",
templateUrl: "./matchingFilesCounter.component.html",
styleUrls: ["./matchingFilesCounter.component.scss"],
standalone: true,
imports: [ThumbTackButtonComponent, SortingButtonComponent, SortingOptionComponent, AsyncPipe]
})
export class MatchingFilesCounterComponent {
matchingFileCounters$: Observable<MatchingFilesCounter>
constructor(store: Store<CcState>) {
this.matchingFileCounters$ = store.select(matchingFilesCounterSelector)
}
}
|