Skip to content

Commit

Permalink
WEBUI-1052: Evaluate if we can add to handle the case page='task' in …
Browse files Browse the repository at this point in the history
…nuxeo-app.js#refresh
  • Loading branch information
rahuljain-dev committed Jul 18, 2023
1 parent 57e506c commit fdde207
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions elements/nuxeo-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,8 @@ Polymer({
refresh() {
if (this.page === 'search') {
this._refreshSearch();
} else if (this.page === 'tasks') {
this.loadTask(this.currentTaskId);
} else if ((this.docPath && this.docPath.length > 0) || (this.docId && this.docId.length > 0)) {
const id = this.docId || (this.currentDocument && this.currentDocument.uid);
this.load('browse', id, this.docPath, this.docAction);
Expand Down

0 comments on commit fdde207

Please sign in to comment.