diff --git a/src/app/components/location-link/location-link.component.ts b/src/app/components/location-link/location-link.component.ts index 3f885cc50..e9e83c114 100644 --- a/src/app/components/location-link/location-link.component.ts +++ b/src/app/components/location-link/location-link.component.ts @@ -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);