Skip to content

Commit c88d8e5

Browse files
fix(sharing): clean old federation shares when select another file/folder
Signed-off-by: Luka Trovic <luka@nextcloud.com>
1 parent 65f52c4 commit c88d8e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/files_sharing/src/views/SharingTab.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,7 @@ export default {
429429
* @param {object} share.data the request data
430430
*/
431431
processShares({ data }) {
432+
this.externalShares = []
432433
if (data.ocs && data.ocs.data && data.ocs.data.length > 0) {
433434
const shares = orderBy(
434435
data.ocs.data.map((share) => new Share(share)),

0 commit comments

Comments
 (0)