Skip to content

Small fixes#4636

Merged
kgrgreer merged 10 commits intodevelopmentfrom
small-fixes
Nov 28, 2025
Merged

Small fixes#4636
kgrgreer merged 10 commits intodevelopmentfrom
small-fixes

Conversation

@lchanmann
Copy link
Collaborator

No description provided.

.start(this.config.viewBorder)
.start(this.viewView, {
data$: self.currentData_$
data$: self.data$
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should be currentData, otherwise edit wont work properly

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

After publishing 'action' or 'finished' it will reload the data but not currentData_, the view will still see old data.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Okay then the loadData that is called on sub of action or reload should then go and update currentData_. This has to use current data or edit will not work

Copy link
Collaborator

Choose a reason for hiding this comment

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

The loadLatch is only really used to set the currentData_ so you can move that logic into the loadData function it self

@jlhughes jlhughes requested a review from kgrgreer November 27, 2025 18:29
@kgrgreer kgrgreer merged commit 499b40c into development Nov 28, 2025
1 check passed
@lchanmann lchanmann deleted the small-fixes branch December 3, 2025 03:12
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.

3 participants