Skip to content

Await file loads in new file flow#45

Open
moksha-hub wants to merge 1 commit intoseetadev:mainfrom
moksha-hub:fix-newfile-created-date
Open

Await file loads in new file flow#45
moksha-hub wants to merge 1 commit intoseetadev:mainfrom
moksha-hub:fix-newfile-created-date

Conversation

@moksha-hub
Copy link
Copy Markdown

Summary

  • await _getFile() before reading the existing file metadata in the New File flow
  • await _saveFile() so the updated file is persisted before switching selected files
  • apply the same fix in both React app variants that contain the duplicated NewFile component

Verification

Fixes #42

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.

[Bug][Critical] Unawaited Async Call in NewFile.tsx Silently Corrupts Invoice Created Timestamp on Every Save

1 participant