Merge pull request #19220 from individual-it/fix_19164
re initialize OC.Share.currentShares OC.Share.itemShares
This commit is contained in:
commit
0c283dc020
|
@ -618,6 +618,8 @@
|
||||||
var fileId = this.fileInfoModel.get('id');
|
var fileId = this.fileInfoModel.get('id');
|
||||||
if (!shares || !shares.length) {
|
if (!shares || !shares.length) {
|
||||||
delete OC.Share.statuses[fileId];
|
delete OC.Share.statuses[fileId];
|
||||||
|
OC.Share.currentShares = {};
|
||||||
|
OC.Share.itemShares = [];
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue