aio: Sort in the api type dropdown (#21176)

Change the order of elements in the api type dropdown to be alphabetical order

PR Close #21030
PR Close #21176
This commit is contained in:
Haydee Rodriguez 2017-12-26 14:11:58 -06:00 committed by Igor Minar
parent efd9c09456
commit d8abf70f1f
1 changed files with 7 additions and 7 deletions

View File

@ -43,15 +43,15 @@ export class ApiListComponent implements OnInit {
// API types // API types
types: Option[] = [ types: Option[] = [
{ value: 'all', title: 'All' }, { value: 'all', title: 'All' },
{ value: 'directive', title: 'Directive' },
{ value: 'pipe', title: 'Pipe'},
{ value: 'decorator', title: 'Decorator' },
{ value: 'class', title: 'Class' }, { value: 'class', title: 'Class' },
{ value: 'interface', title: 'Interface' }, { value: 'const', title: 'Const'},
{ value: 'function', title: 'Function' }, { value: 'decorator', title: 'Decorator' },
{ value: 'directive', title: 'Directive' },
{ value: 'enum', title: 'Enum' }, { value: 'enum', title: 'Enum' },
{ value: 'type-alias', title: 'Type Alias' }, { value: 'function', title: 'Function' },
{ value: 'const', title: 'Const'} { value: 'interface', title: 'Interface' },
{ value: 'pipe', title: 'Pipe'},
{ value: 'type-alias', title: 'Type Alias' }
]; ];
statuses: Option[] = [ statuses: Option[] = [