mirror of
https://github.com/EvolutionAPI/evolution-manager.git
synced 2025-12-24 21:27:44 -06:00
fix: search when disconnected
This commit is contained in:
@@ -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)
|
||||
);
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user