A client has a customization on the tasks page allowing them to open associated documents in Nuxeo Spreadsheet. Closing the spreadsheet triggers the global document-updated listener in nuxeo-app. To properly handle when this happens, please add the following to the refresh method:
} else if (this.page === 'tasks') { if (this.currentTaskId) { this.navigateTo('tasks', this.currentTaskId); } else { page('/tasks'); } } else { page('/'); }