mirror of
				https://github.com/Chocobozzz/PeerTube.git
				synced 2025-02-25 18:55:32 -06:00 
			
		
		
		
	Client: fix friend add input control when removing an input
This commit is contained in:
		@@ -56,6 +56,8 @@ export class FriendAddComponent implements OnInit {
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  removeField(index: number) {
 | 
			
		||||
    // Remove the last control
 | 
			
		||||
    this.friendAddForm.removeControl(`url-${this.urls.length - 1}`);
 | 
			
		||||
    this.urls.splice(index, 1);
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user