diff --git a/demo-shell/resources/i18n/en.json b/demo-shell/resources/i18n/en.json index 7b3e72ddec..ae460cccb4 100644 --- a/demo-shell/resources/i18n/en.json +++ b/demo-shell/resources/i18n/en.json @@ -56,7 +56,7 @@ "APP_LAYOUT": { "APP": "App", "APP_NAME": "ADF Demo Application", - "FILTERED_SEARCH": "FILTER HEADER", + "FILTERED_SEARCH": "Filter Header", "HOME": "Home", "NODE-SELECTOR": "Node Selector", "SITES": "Sites", diff --git a/demo-shell/src/app/components/files/files.component.ts b/demo-shell/src/app/components/files/files.component.ts index fa6e738da1..6f654785b6 100644 --- a/demo-shell/src/app/components/files/files.component.ts +++ b/demo-shell/src/app/components/files/files.component.ts @@ -215,7 +215,6 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy { enableMediumTimeFormat = false; displayEmptyMetadata = false; hyperlinkNavigation = false; - filteredSorting: string[] = null; constructor(private notificationService: NotificationService, private uploadService: UploadService, diff --git a/demo-shell/src/app/components/files/filtered-search.component.ts b/demo-shell/src/app/components/files/filtered-search.component.ts index af94304c0a..c7e6d8c08a 100644 --- a/demo-shell/src/app/components/files/filtered-search.component.ts +++ b/demo-shell/src/app/components/files/filtered-search.component.ts @@ -30,7 +30,7 @@ export class FilteredSearchComponent { currentFolderId = '-my-'; queryParams = null; - filterSorting = null; + filterSorting: string = 'name-asc'; constructor(@Optional() private route: ActivatedRoute) {