Fix instances filter

Closes #1214

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-12-22 11:01:46 +01:00
parent 726ed51ed1
commit 1854063f09
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -221,8 +221,9 @@ const newRelayAddress = ref("");
// relayFollowers: Paginate<IFollower> = { elements: [], total: 0 }; // relayFollowers: Paginate<IFollower> = { elements: [], total: 0 };
const updateDomainFilter = (domain: string) => { const updateDomainFilter = (event: InputEvent) => {
filterDomain.value = domain; const newValue = (event.target as HTMLInputElement).value;
filterDomain.value = newValue;
}; };
const debouncedUpdateDomainFilter = debounce(updateDomainFilter, 500); const debouncedUpdateDomainFilter = debounce(updateDomainFilter, 500);