This commit is contained in:
Sean Edmunds
2025-03-28 15:17:59 -05:00
parent 332c759ed0
commit b741903649
7 changed files with 16 additions and 12 deletions

View File

@@ -54,9 +54,11 @@ const ApplicationSettings = () => {
useEffect(() => {
if (apps && !isAppsFetching) {
setApplicationData(
apps.filter((a: Application) =>
a.name.toLowerCase().includes(debouncedSearch.toLowerCase()),
),
apps
.filter((a: Application) =>
a.name.toLowerCase().includes(debouncedSearch.toLowerCase()),
)
.sort((a: Application, b: Application) => (a.name > b.name ? 1 : -1)),
);
}
}, [apps, isAppsFetching, debouncedSearch]);