PathInfoEntity data exists condition (#69)

This commit is contained in:
Cilibiu Bogdan
2017-11-21 09:21:19 +00:00
committed by Denys Vuika
parent f9ecc83152
commit 4cb51469ab
@@ -41,7 +41,7 @@ export class LocationLinkComponent implements OnInit {
const row: DataRow = this.context.row;
const value: PathInfoEntity = data.getValue(row, col);
if (value.name && value.elements) {
if (value && value.name && value.elements) {
const isLibraryPath = this.isLibraryContent(value);
this.displayText = this.getDisplayText(value);