Skip to content

Commit bffbf37

Browse files
committed
Fixed loading state
1 parent 3caf161 commit bffbf37

File tree

1 file changed

+3
-1
lines changed
  • apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.query

1 file changed

+3
-1
lines changed

apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.query/route.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,9 @@ export default function Page() {
470470
}));
471471
}, []);
472472

473-
const isLoading = navigation.state === "submitting" || navigation.state === "loading";
473+
const isLoading = (navigation.state === "submitting" || navigation.state === "loading") && navigation.formMethod === "POST";
474+
475+
console.log(navigation, isLoading);
474476

475477
// Create a stable key from columns to detect schema changes
476478
const columnsKey = results?.columns

0 commit comments

Comments
 (0)