Skip to content

Commit 7e242bf

Browse files
committed
Version filtering hasFilters consistency
1 parent 33af5f0 commit 7e242bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/webapp/app/routes/resources.orgs.$organizationSlug.projects.$projectParam.env.$envParam.versions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export async function loader({ request, params }: LoaderFunctionArgs) {
4444
if (!result.success) {
4545
return {
4646
versions: [],
47-
hasFilters: Boolean(query?.trim()),
47+
hasFilters: query !== undefined && query.length > 0,
4848
};
4949
}
5050

0 commit comments

Comments
 (0)