forked from potsda.mn/mobilizon
Fix instances filter
Closes #1214 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
726ed51ed1
commit
1854063f09
|
@ -221,8 +221,9 @@ const newRelayAddress = ref("");
|
|||
|
||||
// relayFollowers: Paginate<IFollower> = { elements: [], total: 0 };
|
||||
|
||||
const updateDomainFilter = (domain: string) => {
|
||||
filterDomain.value = domain;
|
||||
const updateDomainFilter = (event: InputEvent) => {
|
||||
const newValue = (event.target as HTMLInputElement).value;
|
||||
filterDomain.value = newValue;
|
||||
};
|
||||
|
||||
const debouncedUpdateDomainFilter = debounce(updateDomainFilter, 500);
|
||||
|
|
Loading…
Reference in a new issue