mirror of
https://github.com/nextcloud/server.git
synced 2024-07-29 08:15:55 +02:00
Create an array entry before filling it
This commit is contained in:
parent
5160ea6063
commit
ab997bdc68
@ -92,6 +92,7 @@ OC.Share={
|
||||
}
|
||||
}
|
||||
if (shares) {
|
||||
OC.Share.statuses[itemSource] = OC.Share.statuses[itemSource] || {};
|
||||
OC.Share.statuses[itemSource]['link'] = link;
|
||||
} else {
|
||||
delete OC.Share.statuses[itemSource];
|
||||
|
Loading…
Reference in New Issue
Block a user