forked from CIT/Vmeda.Online
		
	MOBILE-2567 sharedfiles: Fix renaming a shared file
This commit is contained in:
		
							parent
							
								
									d3807fd48e
								
							
						
					
					
						commit
						eae69814fd
					
				@ -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;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user