[no-issue] Parallel run e2e and e2e common action refactoring (#4702)

This commit is contained in:
Eugenio Romano
2019-05-13 04:44:35 +02:00
committed by GitHub
parent a48bfc3714
commit 898e3b5a80
288 changed files with 8704 additions and 5130 deletions

View File

@@ -31,7 +31,7 @@ export class NodeSharedDirective implements OnChanges {
isShared: boolean = false;
/** Node to share. */
// tslint:disable-next-line:no-input-rename
// tslint:disable-next-line:no-input-rename
@Input('adf-share')
node: NodeEntry;
@@ -46,7 +46,8 @@ export class NodeSharedDirective implements OnChanges {
}
}
constructor(private dialog: MatDialog, private zone: NgZone) {}
constructor(private dialog: MatDialog, private zone: NgZone) {
}
shareNode(nodeEntry: NodeEntry) {
if (nodeEntry && nodeEntry.entry && nodeEntry.entry.isFile) {
@@ -65,7 +66,7 @@ export class NodeSharedDirective implements OnChanges {
this.zone.onStable.subscribe(() => {
if (this.node && this.node.entry) {
this.isFile = this.node.entry.isFile;
this.isShared = this.node.entry.properties['qshare:sharedId'];
this.isShared = this.node.entry.properties ? this.node.entry.properties['qshare:sharedId'] : false;
}
});
}