From dfd8325293acdc30d0a92a9aefa5c92a23935e93 Mon Sep 17 00:00:00 2001 From: dragos-eu Date: Fri, 15 Nov 2024 11:10:44 +0100 Subject: [PATCH] typo fix, code lists external identification --- ESPD/model/espd_v3.3.0.js | 2 +- ESPD/model/espd_v4.0.0.js | 2 +- src/js/codelists.js | 2 +- src/js/home.js | 2 +- src/js/messages.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ESPD/model/espd_v3.3.0.js b/ESPD/model/espd_v3.3.0.js index 08439c6..f59068c 100644 --- a/ESPD/model/espd_v3.3.0.js +++ b/ESPD/model/espd_v3.3.0.js @@ -1,5 +1,5 @@ /** - * VueJS components for ESDP-EDM + * VueJS components for ESPD-EDM * generated on 2024-10-25T07:14:43.324Z */ diff --git a/ESPD/model/espd_v4.0.0.js b/ESPD/model/espd_v4.0.0.js index d50ccaa..d3a608e 100644 --- a/ESPD/model/espd_v4.0.0.js +++ b/ESPD/model/espd_v4.0.0.js @@ -1,5 +1,5 @@ /** - * VueJS components for ESDP-EDM + * VueJS components for ESPD-EDM * generated on 2024-10-25T06:20:06.038Z */ diff --git a/src/js/codelists.js b/src/js/codelists.js index 98c85d7..cb283f8 100644 --- a/src/js/codelists.js +++ b/src/js/codelists.js @@ -114,7 +114,7 @@ Vue.component("codelists", { this.crt_list.LocationUri = gcJSON['gc:CodeList']['Identification']['LocationUri'] this.crt_list.AgencyLongName = gcJSON['gc:CodeList']['Identification']?.['Agency']?.['LongName'] ?? '' this.crt_list.AgencyIdentifier = gcJSON['gc:CodeList']['Identification']?.['Agency']?.['Identifier']?.['@Identifier'] ?? '' - this.crt_list.type = (this.crt_list.CanonicalUri.startsWith('https://github.com/ESPD/ESPD-EDM/')) ? 'technical' : 'external' + this.crt_list.type = (this.crt_list.CanonicalUri.startsWith('https://github.com/')) ? 'technical' : 'external' this.crt_list.name = (this.crt_list.type == 'external') ? this.crt_list.LongName : this.crt_list.ListID gcJSON['gc:CodeList']['SimpleCodeList']['Row'].forEach(element => { diff --git a/src/js/home.js b/src/js/home.js index 7c145fe..ad4d269 100644 --- a/src/js/home.js +++ b/src/js/home.js @@ -11,7 +11,7 @@ Vue.component("home",{