Skip to content

Commit

Permalink
Disable path rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
dokempf committed Sep 4, 2024
1 parent 591134a commit 69b07ed
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/fields/Link.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@
}
function hasNontrivialPath() {
// I disable this feature for now, because I have not found out under what circumstances
// exactly it is supposed to be shown and when not. An example of where the info is present,
// but not shown is https://heidicon.ub.uni-heidelberg.de/#/detail/23823812, Field
// "Thema/Bildinhalt (normiert)". Gegenbeispiel ist in DMMP https://dmmp.ub.uni-heidelberg.de/#/detail/6493
// Field Archiv. Once we find out, just implement the logic and remove the following line.
return false;
if (!("_path" in fdata)) {
return false;
}
Expand Down

0 comments on commit 69b07ed

Please sign in to comment.