fix(myshares): reload on any change from ShareModal

This commit is contained in:
Edouard Vanbelle
2026-05-29 13:43:15 +02:00
parent 804cb7c6af
commit eef67973b3
2 changed files with 12 additions and 2 deletions
+5 -1
View File
@@ -136,7 +136,11 @@ const mySharesView = {
}
},
onShareEdit: (resource, resourceType) => {
shareModal.open(resource, /** @type {'file'|'folder'} */ (resourceType));
shareModal.open(resource, /** @type {'file'|'folder'} */ (resourceType), () => {
this._nextCursor = null;
this._component?.clear();
this._loadPage();
});
}
});
}