re initialize OC.Share.currentShares OC.Share.itemShares
otherwise old values are kept. fix for #19164
This commit is contained in:
parent
c433d48d8e
commit
976942bb61
|
@ -618,6 +618,8 @@
|
|||
var fileId = this.fileInfoModel.get('id');
|
||||
if (!shares || !shares.length) {
|
||||
delete OC.Share.statuses[fileId];
|
||||
OC.Share.currentShares = {};
|
||||
OC.Share.itemShares = [];
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue