Don't show typed tag when exact match is found

This commit is contained in:
Christopher C. Wells 2021-01-31 14:20:54 -08:00
parent cfa9e2c1eb
commit 3695810fe7
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@
</template> </template>
<a @click.prevent="addTag(searchTerm)" <a @click.prevent="addTag(searchTerm)"
class="block py-1 px-5 cursor-pointer hover:bg-indigo-600 hover:text-white" class="block py-1 px-5 cursor-pointer hover:bg-indigo-600 hover:text-white"
x-show="!results.includes(searchTerm)"
x-text="searchTerm"></a> x-text="searchTerm"></a>
</div> </div>
</div> </div>