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 common console error in the Model Workspace #4720

Merged
merged 1 commit into from
Apr 26, 2024
Merged

Conversation

ericpgreen2
Copy link
Contributor

The isLocalFileConnector() function was being called for Models, triggering this YAML parse error in the console:

image

In this case, the enabled flag of the isLocalFileConnector TanStack Query call is set to false, so it seems like a separate call to GetFile has been triggering the select function.

@ericpgreen2 ericpgreen2 self-assigned this Apr 26, 2024
Copy link
Collaborator

@AdityaHegde AdityaHegde left a comment

Choose a reason for hiding this comment

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

Good catch!

@AdityaHegde AdityaHegde merged commit 3d35f22 into main Apr 26, 2024
6 checks passed
@AdityaHegde AdityaHegde deleted the fix-console-error branch April 26, 2024 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants