Currency code is duplicated when an existing currency code is selected in the sorted list
This commit is contained in:
@ -656,6 +656,7 @@ export default {
|
||||
|
||||
for (const [key, value] of Object.entries(this.full_options)) {
|
||||
if (selected == value.key) {
|
||||
if(! this.sorted_options.find((option) => option.key == selected)) {
|
||||
this.sorted_options.push({
|
||||
index: value.index,
|
||||
key: value.key,
|
||||
@ -665,6 +666,7 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
removeTag(event) {
|
||||
|
Reference in New Issue
Block a user