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

New action to reload an individual view and all of its children #7362

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
resubscribe to staleness too
  • Loading branch information
scottbell committed Jan 11, 2024
commit f103afc77d5d72e145e9fe3d26b83c89b7d0a566
4 changes: 2 additions & 2 deletions src/ui/components/ObjectView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,10 @@
this.updateView(true);
},
reload(domainObjectToReload) {
if (objectUtils.equals(domainObjectToReload, this.domainObject)) {

Check warning on line 224 in src/ui/components/ObjectView.vue

View check run for this annotation

Codecov / codecov/patch

src/ui/components/ObjectView.vue#L224

Added line #L224 was not covered by tests
this.clear();
this.initObjectStyles();
this.updateView(true);
this.initObjectStyles();
Copy link
Contributor

Choose a reason for hiding this comment

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

nice!

this.triggerStalenessSubscribe(this.domainObject);
}
},
triggerStalenessSubscribe(object) {
Expand Down
Loading