remove unused classes
This commit is contained in:
@@ -3,7 +3,6 @@ import {CountryService} from '../service/countryservice';
|
||||
|
||||
@Component({
|
||||
templateUrl: './floatlabeldemo.component.html',
|
||||
styleUrls: ['./floatlabeldemo.scss']
|
||||
})
|
||||
export class FloatLabelDemoComponent implements OnInit {
|
||||
|
||||
@@ -58,7 +57,6 @@ export class FloatLabelDemoComponent implements OnInit {
|
||||
// return filtered results, for demo we filter at client side
|
||||
const filtered: any[] = [];
|
||||
const query = event.query;
|
||||
// tslint:disable-next-line:prefer-for-of
|
||||
for (let i = 0; i < this.countries.length; i++) {
|
||||
const country = this.countries[i];
|
||||
if (country.name.toLowerCase().indexOf(query.toLowerCase()) == 0) {
|
||||
|
||||
Reference in New Issue
Block a user