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

Save request looping issue | update request draft when there are no sequence change #3346

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

Conversation

anusreesubash
Copy link
Contributor

Description

The request draft was not getting removed if there were no file changes and no sequence changes. This causes UI to show that there are still changes present even after saving.

Changes made:

Updated the areItemsTheSameExceptSeqUpdate function to return false when there are no sequence changes, so that the draft gets updated appropriately.

Fixes: #3316

Contribution Checklist:

  • The pull request only addresses one issue or adds one feature.
  • The pull request does not introduce any breaking changes
  • I have added screenshots or gifs to help explain the change if applicable.
  • I have read the contribution guidelines.
  • Create an issue and link to the pull request.
Screen.Recording.2024-10-24.130304.mp4

@anusreesubash anusreesubash marked this pull request as ready for review October 24, 2024 07:48
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.

Request with no changes save loops
2 participants