We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ba0c9f commit 9549dc9Copy full SHA for 9549dc9
src/components/Form/fields/FieldAffiliations.vue
@@ -406,7 +406,11 @@ const closeAddMode = function () {
406
newAffiliationPending.value = {};
407
};
408
const showSearchResults = computed(() => {
409
- return searchPhrase.value.length > 0 || apiResponse.value.length > 0;
+ return (
410
+ (searchPhrase.value.length > 0 && apiResponse.value.length > 0) ||
411
+ (searchPhrase.value.length > 0 && apiResponse.value.length === 0) ||
412
+ !(searchPhrase.value.length === 0)
413
+ );
414
});
415
const toggleEditMode = function (index) {
416
if (indexEditMode.value === index) {
0 commit comments