diff --git a/package-lock.json b/package-lock.json index c26d4b4..289df7a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "fair4health-data-privacy-tool", - "version": "0.1.0", + "version": "1.0.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 8ea6917..cada7b7 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "fair4health-data-privacy-tool", "productName": "FAIR4Health Privacy Tool", - "version": "1.0.0", + "version": "1.0.1", "private": true, "author": "SRDC Corporation ", "description": "FAIR4Health | Data Privacy Tool", diff --git a/src/assets/f4h-512x512.png b/src/assets/f4h-512x512.png new file mode 100644 index 0000000..fe25af6 Binary files /dev/null and b/src/assets/f4h-512x512.png differ diff --git a/src/common/utils/fhir-util.ts b/src/common/utils/fhir-util.ts index f654f41..ded0c28 100644 --- a/src/common/utils/fhir-util.ts +++ b/src/common/utils/fhir-util.ts @@ -139,4 +139,12 @@ export class FHIRUtils { } } + static sortProfiles (profiles: string[]) { + return profiles?.sort((p1, p2) => { + const p1Name = p1.split('/').pop()!.toLowerCase() + const p2Name = p2.split('/').pop()!.toLowerCase() + return (p1Name > p2Name) ? 1 : ((p2Name > p1Name) ? -1 : 0) + }) || [] + } + } diff --git a/src/components/AlgorithmConfigDialog.vue b/src/components/AlgorithmConfigDialog.vue index bafec07..c0bde25 100644 --- a/src/components/AlgorithmConfigDialog.vue +++ b/src/components/AlgorithmConfigDialog.vue @@ -32,7 +32,7 @@ - {{getInfoText()}} + {{getInfoText()}} diff --git a/src/components/AttributeSelector.vue b/src/components/AttributeSelector.vue index d6bc95f..926e0bc 100644 --- a/src/components/AttributeSelector.vue +++ b/src/components/AttributeSelector.vue @@ -1,22 +1,24 @@