Skip to content

Fixes multitab sync issues#1921

Merged
radex merged 2 commits intomasterfrom
kokusGr/fix-multitab-sync
Jul 3, 2025
Merged

Fixes multitab sync issues#1921
radex merged 2 commits intomasterfrom
kokusGr/fix-multitab-sync

Conversation

@kokusGr
Copy link
Contributor

@kokusGr kokusGr commented Jun 6, 2025

This PR fixes issues when working with multiple tabs. Sometimes, the collection's data is loaded into a loki/collection copy object that's passed to the performSave function. This results in an error when trying to reaccess the data on the "main" loki/collection object.

This should help with these issues:

All relevant changes are in the LokiJS repo: Nozbe/LokiJS@2c3ac90

@radex
Copy link
Collaborator

radex commented Jun 12, 2025

(Feedback sent outside of GitHub)

@kokusGr
Copy link
Contributor Author

kokusGr commented Jun 13, 2025

After the feedback, I implemented an alternative fix here: Nozbe/LokiJS@fcb4284

@radex radex merged commit 2db46ef into master Jul 3, 2025
7 checks passed
@radex radex deleted the kokusGr/fix-multitab-sync branch July 3, 2025 12:45
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