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" @search-change="findNamespaces"
@select="select" @select="select"
placeholder="Search for a namespace..." placeholder="Search for a namespace..."
:showNoOptions="false"
label="title" label="title"
track-by="id"> track-by="id">
<template slot="clear" slot-scope="props"> <template slot="clear" slot-scope="props">

View file

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

View file

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