MOBILE-2567 sharedfiles: Fix renaming a shared file

main
Dani Palou 2018-08-31 11:39:51 +02:00
parent d3807fd48e
commit eae69814fd
1 changed files with 3 additions and 3 deletions

View File

@ -121,10 +121,10 @@ export class CoreSharedFilesListPage implements OnInit, OnDestroy {
* Called when a file is renamed. Update the list.
*
* @param {number} index Position of the file.
* @param {any} file New FileEntry.
* @param {any} data Data containing the new FileEntry.
*/
fileRenamed(index: number, file: any): void {
this.files[index] = file;
fileRenamed(index: number, data: any): void {
this.files[index] = data.file;
}
/**