fix(ui): trigger session search on change (#2798)

This commit is contained in:
Shekar Siri 2024-12-02 18:17:03 +01:00 committed by GitHub
parent d531b5da7e
commit 1aa3b4b4e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View file

@ -54,10 +54,14 @@ function SessionSearch() {
const onAddFilter = (filter: any) => {
searchStore.addFilter(filter);
debounceFetch();
};
const onUpdateFilter = (filterIndex: any, filter: any) => {
searchStore.updateFilter(filterIndex, filter);
debounceFetch();
};
const onFilterMove = (newFilters: any) => {

View file

@ -88,7 +88,6 @@ class UserStore {
get isEnterprise() {
return (
this.account?.edition === 'ee' ||
this.account?.edition === 'msaas' ||
this.authStore.authDetails?.edition === 'ee'
);
}