mirror of
https://github.com/EvolutionAPI/evolution-manager.git
synced 2025-07-13 15:14:49 -06:00
fix: search when disconnected
This commit is contained in:
parent
d2056aec52
commit
4048553c64
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "evolution-manager",
|
"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.",
|
"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",
|
"main": "dist",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16.0.0"
|
"node": ">=16.0.0"
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
</v-alert>
|
</v-alert>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col v-else cols="12">
|
<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-text-field
|
||||||
v-model="search"
|
v-model="search"
|
||||||
label="Pesquisar"
|
label="Pesquisar"
|
||||||
@ -216,8 +216,10 @@ export default {
|
|||||||
const search = this.search.trim().toLowerCase();
|
const search = this.search.trim().toLowerCase();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
instance.instance.instanceName.toLowerCase().includes(search) ||
|
(instance.instance.instanceName || "")
|
||||||
instance.instance.owner.toLowerCase().includes(search)
|
.toLowerCase()
|
||||||
|
.includes(search) ||
|
||||||
|
(instance.instance.owner || "").toLowerCase().includes(search)
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user