This commit is contained in:
richard-loafle 2020-05-08 15:22:00 +09:00
commit ca9cbbfb61
2 changed files with 5 additions and 8 deletions

7
package-lock.json generated
View File

@ -18,9 +18,6 @@
"version": "6.5.3", "version": "6.5.3",
"resolved": "http://10.81.13.229:8081/repository/npm-all/rxjs/-/rxjs-6.5.3.tgz", "resolved": "http://10.81.13.229:8081/repository/npm-all/rxjs/-/rxjs-6.5.3.tgz",
"integrity": "sha512-wuYsAYYFdWTAnAaPoKGNhfpWwKZbJW+HgAJ+mImp+Epl7BG8oNWBCTyRM8gba9k4lk8BgWdoYm21Mo/RYhhbgA==", "integrity": "sha512-wuYsAYYFdWTAnAaPoKGNhfpWwKZbJW+HgAJ+mImp+Epl7BG8oNWBCTyRM8gba9k4lk8BgWdoYm21Mo/RYhhbgA==",
"dev": true,
"requires": {
"tslib": "^1.9.0"
} }
} }
} }
@ -125,10 +122,8 @@
"source-map": { "source-map": {
"version": "0.5.7", "version": "0.5.7",
"resolved": "http://10.81.13.229:8081/repository/npm-all/source-map/-/source-map-0.5.7.tgz", "resolved": "http://10.81.13.229:8081/repository/npm-all/source-map/-/source-map-0.5.7.tgz",
"integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w="
"dev": true
} }
}
}, },
"babel-loader": { "babel-loader": {
"version": "8.0.6", "version": "8.0.6",

View File

@ -228,9 +228,8 @@ export class ExpansionComponent implements OnInit, OnDestroy {
NodeType = NodeType; NodeType = NodeType;
private nodeMap: Map<NodeType, GroupNode[]> = new Map();
// tslint:disable-next-line: variable-name
private _ngOnDestroySubject: Subject<void>; private _ngOnDestroySubject: Subject<void>;
private nodeMap: Map<NodeType, GroupNode[]>;
constructor(private changeDetectorRef: ChangeDetectorRef) { constructor(private changeDetectorRef: ChangeDetectorRef) {
this.treeControl = new FlatTreeControl<FlatNode>( this.treeControl = new FlatTreeControl<FlatNode>(
@ -275,8 +274,11 @@ export class ExpansionComponent implements OnInit, OnDestroy {
this._ngOnDestroySubject.next(); this._ngOnDestroySubject.next();
this._ngOnDestroySubject.complete(); this._ngOnDestroySubject.complete();
} }
this.dataSource.cdkVirtualScrollViewport = this.cvsvList;
} }
onClickHeaderMenu(event: MouseEvent, node: FlatNode) {} onClickHeaderMenu(event: MouseEvent, node: FlatNode) {}
isCheckedGroup(node: FlatNode): boolean { isCheckedGroup(node: FlatNode): boolean {