fix: add a task relation with enter when only one search result is available

Resolves #2107
renovate/workbox-monorepo
kolaente 2022-07-11 20:02:35 +02:00
parent 6973d76e17
commit e8705c66dd
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@
:creatable="true"
:create-placeholder="$t('task.relation.createPlaceholder')"
@create="createAndRelateTask"
@select="addTaskRelation"
>
<template #searchResult="props">
<span v-if="typeof props.option !== 'string'" class="search-result">