Don't show a confusing message if no options are available

This commit is contained in:
kolaente 2020-07-15 21:13:59 +02:00
parent 4e401f754c
commit 6662cbe264
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
3 changed files with 5 additions and 2 deletions

View file

@ -9,6 +9,7 @@
@search-change="findNamespaces"
@select="select"
placeholder="Search for a namespace..."
:showNoOptions="false"
label="title"
track-by="id">
<template slot="clear" slot-scope="props">

View file

@ -17,7 +17,8 @@
:loading="searchService.loading"
:internal-search="true"
@search-change="find"
placeholder="Type to search"
placeholder="Type to search..."
:showNoOptions="false"
:label="searchLabel"
track-by="id">
<template slot="clear" slot-scope="props">

View file

@ -81,7 +81,8 @@
:loading="userService.loading"
:internal-search="true"
@search-change="findUser"
placeholder="Type to search"
placeholder="Type to search..."
:showNoOptions="false"
label="username"
track-by="id">
<template slot="clear" slot-scope="props">