diff --git a/ui/src/app/metadata/provider/container/provider-filter-list.component.ts b/ui/src/app/metadata/provider/container/provider-filter-list.component.ts index 3513590cd..0b1fee37b 100644 --- a/ui/src/app/metadata/provider/container/provider-filter-list.component.ts +++ b/ui/src/app/metadata/provider/container/provider-filter-list.component.ts @@ -30,7 +30,9 @@ export class ProviderFilterListComponent implements OnDestroy { this.filters$ = this.store.select(fromFilter.getAdditionalFilters); this.provider$ = this.store.select(fromProvider.getSelectedProvider).pipe(skipWhile(p => !p)); this.provider$ - .pipe(takeUntil(this.ngUnsubscribe)) + .pipe( + takeUntil(this.ngUnsubscribe) + ) .subscribe(p => { this.store.dispatch(new LoadFilterRequest(p.resourceId)); }); diff --git a/ui/src/app/metadata/provider/container/provider-select.component.html b/ui/src/app/metadata/provider/container/provider-select.component.html index 90c6b6463..5389bd7e9 100644 --- a/ui/src/app/metadata/provider/container/provider-select.component.html +++ b/ui/src/app/metadata/provider/container/provider-select.component.html @@ -1 +1,3 @@ - \ No newline at end of file + + + \ No newline at end of file diff --git a/ui/src/app/shared/autocomplete/autocomplete.component.html b/ui/src/app/shared/autocomplete/autocomplete.component.html index 8f952f520..bba151e16 100644 --- a/ui/src/app/shared/autocomplete/autocomplete.component.html +++ b/ui/src/app/shared/autocomplete/autocomplete.component.html @@ -50,15 +50,5 @@ - diff --git a/ui/src/app/shared/autocomplete/autocomplete.component.ts b/ui/src/app/shared/autocomplete/autocomplete.component.ts index d6237742a..51fc555fb 100644 --- a/ui/src/app/shared/autocomplete/autocomplete.component.ts +++ b/ui/src/app/shared/autocomplete/autocomplete.component.ts @@ -40,13 +40,12 @@ const INPUT_FIELD_INDEX = -1; } ] }) -export class AutoCompleteComponent implements OnInit, OnDestroy, OnChanges, AfterViewInit, ControlValueAccessor { +export class AutoCompleteComponent implements OnInit, OnDestroy, AfterViewInit, ControlValueAccessor { @Input() defaultValue = ''; @Input() matches: string[] = []; @Input() id: string; @Input() autoSelect = false; @Input() noneFoundText = 'No Options Found'; - @Input() showMoreText = 'Show More...'; @Input() limit = 0; @Input() processing = false; @Input() dropdown = false; @@ -119,12 +118,6 @@ export class AutoCompleteComponent implements OnInit, OnDestroy, OnChanges, Afte this.listItems.changes.subscribe((changes) => this.setElementReferences(changes)); } - ngOnChanges(changes: SimpleChanges): void { - if (changes.matches) { - this.showMoreAvailable = !!this.limit && this.matches && this.matches.length >= this.limit; - } - } - writeValue(value: any): void { this.input.setValue(value); } diff --git a/ui/src/assets/schema/provider/filebacked-http-common.editor.schema.json b/ui/src/assets/schema/provider/filebacked-http-common.editor.schema.json index 98545e7e4..2b5d368e4 100644 --- a/ui/src/assets/schema/provider/filebacked-http-common.editor.schema.json +++ b/ui/src/assets/schema/provider/filebacked-http-common.editor.schema.json @@ -50,7 +50,8 @@ "type": "section", "fields": [ "name", - "@type" + "@type", + "enabled" ] }, { @@ -96,6 +97,12 @@ } ] }, + "enabled": { + "title": "Enable this service?", + "description": "Enable this service?", + "type": "boolean", + "default": false + }, "xmlId": { "title": "ID", "description": "Identifier for logging, identification for command line reload, etc.",