SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 0b4c6838 authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Improve warning if email address is not found in address book

parent 158400c7
No related branches found
No related tags found
No related merge requests found
...@@ -8,8 +8,13 @@ ...@@ -8,8 +8,13 @@
label="address" label="address"
:filterable="false" :filterable="false"
> >
<template slot="no-options"> <template v-slot:no-options="{ search, searching }">
No match found in your address book <template v-if="searching">
<span class="bg-danger px-4 py-2 text-white">No match found in your address book</span>
</template>
<template v-else>
Type to search in your address book
</template>
</template> </template>
<template slot="option" slot-scope="option"> <template slot="option" slot-scope="option">
{{ option.address }} {{ option.address }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment