From d8abf70f1f420d9227d4fc700c79dac3c71d9a99 Mon Sep 17 00:00:00 2001 From: Haydee Rodriguez Date: Tue, 26 Dec 2017 14:11:58 -0600 Subject: [PATCH] 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 --- aio/src/app/embedded/api/api-list.component.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/aio/src/app/embedded/api/api-list.component.ts b/aio/src/app/embedded/api/api-list.component.ts index b363fc0e0e..2dbeda2016 100644 --- a/aio/src/app/embedded/api/api-list.component.ts +++ b/aio/src/app/embedded/api/api-list.component.ts @@ -43,15 +43,15 @@ export class ApiListComponent implements OnInit { // API types types: Option[] = [ { value: 'all', title: 'All' }, - { value: 'directive', title: 'Directive' }, - { value: 'pipe', title: 'Pipe'}, - { value: 'decorator', title: 'Decorator' }, { value: 'class', title: 'Class' }, - { value: 'interface', title: 'Interface' }, - { value: 'function', title: 'Function' }, + { value: 'const', title: 'Const'}, + { value: 'decorator', title: 'Decorator' }, + { value: 'directive', title: 'Directive' }, { value: 'enum', title: 'Enum' }, - { value: 'type-alias', title: 'Type Alias' }, - { value: 'const', title: 'Const'} + { value: 'function', title: 'Function' }, + { value: 'interface', title: 'Interface' }, + { value: 'pipe', title: 'Pipe'}, + { value: 'type-alias', title: 'Type Alias' } ]; statuses: Option[] = [