Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: conditionally enable useGetFoldersQuery in AppInitPage after initial fetch #4773

Merged
merged 2 commits into from
Nov 21, 2024

Conversation

Cristhianzl
Copy link
Member

This pull request includes a change to the AppInitPage component in the src/frontend/src/pages/AppInitPage/index.tsx file. The change ensures that the useGetFoldersQuery hook is only enabled after the initial data fetch is completed.

@Cristhianzl Cristhianzl self-assigned this Nov 21, 2024
@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels Nov 21, 2024
@github-actions github-actions bot added bug Something isn't working and removed bug Something isn't working labels Nov 21, 2024
Copy link
Contributor

@anovazzi1 anovazzi1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Nov 21, 2024
@Cristhianzl Cristhianzl enabled auto-merge (squash) November 21, 2024 21:21
@Cristhianzl Cristhianzl merged commit 3160c54 into main Nov 21, 2024
18 checks passed
@Cristhianzl Cristhianzl deleted the cz/fix-login-error branch November 21, 2024 21:31
mieslep pushed a commit to mieslep/langflow that referenced this pull request Nov 22, 2024
…tial fetch (langflow-ai#4773)

✨ (AppInitPage/index.tsx): add support for refetching folders data when isFetched is true to keep data up to date
diogocabral pushed a commit to headlinevc/langflow that referenced this pull request Nov 26, 2024
…tial fetch (langflow-ai#4773)

✨ (AppInitPage/index.tsx): add support for refetching folders data when isFetched is true to keep data up to date
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants