Skip to content

Commit f94085f

Browse files
revert dataset patch found in dev
1 parent 7a8bb20 commit f94085f

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/app/[locale]/(logged-out)/dataset/[datasetId]/components/DatasetMindMap/DatasetMindMap.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,9 @@ const DatasetMindMap = ({
7878
const safeTitle = encodeURIComponent(title);
7979

8080
if (node.id === "node-synthetic") {
81-
// Loki - For Calum. Tweak per GAT-9374
8281
href =
8382
data.metadata.metadata?.structuralMetadata
84-
?.syntheticDataWebLink?.[0] ?? null;
83+
?.syntheticDataWebLink[0];
8584

8685
if (!href) {
8786
empty.push(node.id);

src/interfaces/Dataset.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ interface StructuralMetadata {
2626

2727
interface StructuralMetadataPublicSchema {
2828
tables: StructuralMetadata[];
29-
syntheticDataWebLink?: string[];
29+
syntheticDataWebLink: string[];
3030
}
3131

3232
interface DemographicGeneric {

0 commit comments

Comments
 (0)