Merge pull request #30995 from nextcloud/fix/currentFileList-is-incorrect-favorite-share-with-you

Fix bugs with incorrect currentFileList in the favorite and share by you view
pull/31007/head
Simon L 2 years ago committed by GitHub
commit bb55b79837
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2294,6 +2294,12 @@
this.setFiles(result);
if (this.dirInfo) {
// Make sure the currentFileList is the current one
// When navigating to the favorite or share with you virtual
// folder, this is not correctly set during the initialisation
// otherwise.
OCA.Files.App && OCA.Files.App.updateCurrentFileList(this);
var newFileId = this.dirInfo.id;
// update fileid in URL
var params = {

Loading…
Cancel
Save