Modif sur le filtre des DZs

This commit is contained in:
Sébastien André
2020-01-28 14:55:25 +01:00
parent 92a657d649
commit 9f3042ed37
2 changed files with 3 additions and 7 deletions

View File

@@ -113,11 +113,9 @@ export class NewJumpComponent implements OnInit {
}
public onChangeDz(event: string) {
if (event.length > 3) {
const filterValue = event.toLowerCase();
this.listOfFilteredDropZone = this.listOfDropZone;
this.listOfFilteredDropZone = this.listOfFilteredDropZone.filter(option => option.name.toLowerCase().includes(filterValue));
}
}
}

View File

@@ -7,8 +7,6 @@
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<!-- <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500&display=swap" rel="stylesheet"> -->
<link href="assets/font/MaterialIcons.woff2" rel="stylesheet">
</head>
<body>