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: LEAP-649: Saving draft on task switching #7212

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Gondragos
Copy link
Collaborator

This commit ensures the task ID remains consistent throughout the onSubmitDraft process, even while waiting for asynchronous operations. Previously, the task ID could change during submission, leading to potential issues. This change prevents that.

Preserve the task ID at the start of onSubmitDraft to ensure it's consistent while awaiting async operations. This prevents potential issues caused by task ID updates mid-submission.
@github-actions github-actions bot added the fix label Mar 12, 2025
Copy link

netlify bot commented Mar 12, 2025

Deploy Preview for label-studio-docs-new-theme canceled.

Name Link
🔨 Latest commit 31ed89f
🔍 Latest deploy log https://app.netlify.com/sites/label-studio-docs-new-theme/deploys/67d163227ac98f000823d777

Copy link

netlify bot commented Mar 12, 2025

Deploy Preview for heartex-docs canceled.

Name Link
🔨 Latest commit 31ed89f
🔍 Latest deploy log https://app.netlify.com/sites/heartex-docs/deploys/67d16322d5daff00088aafce

@Gondragos Gondragos requested a review from hlomzik March 12, 2025 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant