From 9ed1eca19c64a54a2de4107832bae80eae4eda9b Mon Sep 17 00:00:00 2001 From: akhuoa Date: Fri, 24 Jan 2025 11:51:24 +1300 Subject: [PATCH 1/2] Add SCKAN version for conectivity graph --- src/components/ConnectivityInfo.vue | 3 +++ src/exampleConnectivityInput.js | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/ConnectivityInfo.vue b/src/components/ConnectivityInfo.vue index b75f306a..fed7e96c 100644 --- a/src/components/ConnectivityInfo.vue +++ b/src/components/ConnectivityInfo.vue @@ -211,6 +211,7 @@ @@ -313,6 +314,7 @@ export default { timeoutID: undefined, graphViewLoaded: false, updatedCopyContent: '', + sckanVersion: '', } }, watch: { @@ -599,6 +601,7 @@ export default { }, }, mounted: function () { + this.sckanVersion = this.entry['knowledge-source']; this.updatedCopyContent = this.getUpdateCopyContent(); EventBus.on('connectivity-graph-error', (errorInfo) => { this.pushConnectivityError(errorInfo); diff --git a/src/exampleConnectivityInput.js b/src/exampleConnectivityInput.js index b530c36f..a25a961c 100644 --- a/src/exampleConnectivityInput.js +++ b/src/exampleConnectivityInput.js @@ -285,5 +285,6 @@ export default { "Homo sapiens", "Canis lupus familiaris", "Domestic Pig" - ] + ], + "knowledge-source": "sckan-2024-03-26-npo", } \ No newline at end of file From 0a303b12648e1c9807c4301ad8eb165a1d9a1e62 Mon Sep 17 00:00:00 2001 From: akhuoa Date: Wed, 29 Jan 2025 11:19:38 +1300 Subject: [PATCH 2/2] Add line end --- src/exampleConnectivityInput.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/exampleConnectivityInput.js b/src/exampleConnectivityInput.js index a25a961c..bccfe32c 100644 --- a/src/exampleConnectivityInput.js +++ b/src/exampleConnectivityInput.js @@ -287,4 +287,4 @@ export default { "Domestic Pig" ], "knowledge-source": "sckan-2024-03-26-npo", -} \ No newline at end of file +}