Skip to content

Commit

Permalink
CU-862k62rxx: small improvements to picker for search edge cases
Browse files Browse the repository at this point in the history
  • Loading branch information
tomolopolis committed Jul 24, 2023
1 parent f1ab0ff commit 2a1104e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
14 changes: 7 additions & 7 deletions webapp/frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion webapp/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"vue-cookie": "^1.1.4",
"vue-multipane": "^0.9.5",
"vue-router": "^3.5.3",
"vue-select": "^3.16.0",
"vue-select": "^3.20.0",
"vue-sidebar-menu": "^4.8.1",
"vue-simple-context-menu": "^3.4.2",
"vue-splitpane": "^1.0.6"
Expand Down
5 changes: 5 additions & 0 deletions webapp/frontend/src/components/common/ConceptPicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
label="cui"
@open="$emit('picker:opened')"
@close="$emit('picker:closed')">
<template v-slot:no-options="{ search, searching }">
<template v-if="searching">No results found for <em>{{ search }}</em>.
</template>
<em v-else style="opacity: 0.5">Start typing to search for a concept.</em>
</template>
<template v-slot:option="option">
<span class="select-option">{{option.name}}</span>
<span class="select-option-cui"> - {{option.cui}}</span>
Expand Down

0 comments on commit 2a1104e

Please sign in to comment.