Change change detection of whole file grid

Signed-off-by: trivernis <trivernis@protonmail.com>
pull/3/head
trivernis 3 years ago
parent 8022f25801
commit 232c12ed8b
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -1,5 +1,6 @@
import { import {
AfterViewInit, AfterViewInit,
ChangeDetectionStrategy,
Component, Component,
ElementRef, ElementRef,
EventEmitter, EventEmitter,
@ -21,7 +22,8 @@ import {Key} from "w3c-keys";
@Component({ @Component({
selector: "app-file-grid", selector: "app-file-grid",
templateUrl: "./file-grid.component.html", templateUrl: "./file-grid.component.html",
styleUrls: ["./file-grid.component.scss"] styleUrls: ["./file-grid.component.scss"],
changeDetection: ChangeDetectionStrategy.OnPush
}) })
export class FileGridComponent implements OnChanges, OnInit, AfterViewInit { export class FileGridComponent implements OnChanges, OnInit, AfterViewInit {

Loading…
Cancel
Save