{
- let aIndex = this.selectedValue.findIndex(value => a.value === value);
- let bIndex = this.selectedValue.findIndex(value => b.value === value);
+ let aIndex = this.selectedValue.findIndex((value) => a.value === value);
+ let bIndex = this.selectedValue.findIndex((value) => b.value === value);
aIndex = aIndex === -1 ? Number.MAX_SAFE_INTEGER : aIndex;
bIndex = bIndex === -1 ? Number.MAX_SAFE_INTEGER : bIndex;
return aIndex < bIndex ? -1 : 1;
- })
+ });
}
},
methods: {
diff --git a/src/components/Form/fields/FieldOrcid.vue b/src/components/Form/fields/FieldOrcid.vue
index 884d24c02..b118df48c 100644
--- a/src/components/Form/fields/FieldOrcid.vue
+++ b/src/components/Form/fields/FieldOrcid.vue
@@ -1,16 +1,23 @@