mirror of
https://github.com/EvolutionAPI/evolution-manager.git
synced 2025-07-13 07:04:50 -06:00
fix: search when disconnected
This commit is contained in:
parent
d2056aec52
commit
4048553c64
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "evolution-manager",
|
||||
"description": "Evolution Manager is an open-source interface for managing the Evolution API, simplifying the creation and administration of API instances with advanced features and diverse integrations.",
|
||||
"version": "0.4.3",
|
||||
"version": "0.4.4",
|
||||
"main": "dist",
|
||||
"engines": {
|
||||
"node": ">=16.0.0"
|
||||
|
@ -32,7 +32,7 @@
|
||||
</v-alert>
|
||||
</v-col>
|
||||
<v-col v-else cols="12">
|
||||
<div class="d-flex gap-2 flex-wrap">
|
||||
<div class="d-flex gap-2 flex-wrap mb-2">
|
||||
<v-text-field
|
||||
v-model="search"
|
||||
label="Pesquisar"
|
||||
@ -216,8 +216,10 @@ export default {
|
||||
const search = this.search.trim().toLowerCase();
|
||||
|
||||
return (
|
||||
instance.instance.instanceName.toLowerCase().includes(search) ||
|
||||
instance.instance.owner.toLowerCase().includes(search)
|
||||
(instance.instance.instanceName || "")
|
||||
.toLowerCase()
|
||||
.includes(search) ||
|
||||
(instance.instance.owner || "").toLowerCase().includes(search)
|
||||
);
|
||||
});
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user