diff --git a/src/ui_ng/src/app/base/harbor-shell/harbor-shell.component.ts b/src/ui_ng/src/app/base/harbor-shell/harbor-shell.component.ts index 765ccf10b..e4c9c56a4 100644 --- a/src/ui_ng/src/app/base/harbor-shell/harbor-shell.component.ts +++ b/src/ui_ng/src/app/base/harbor-shell/harbor-shell.component.ts @@ -120,15 +120,8 @@ export class HarborShellComponent implements OnInit, OnDestroy { //Handle the global search event and then let the result page to trigger api doSearch(event: string): void { if (event === "") { - if (!this.isSearchResultsOpened) { - //Will not open search result panel if term is empty - return; - } else { - //If opened, then close the search result panel - this.isSearchResultsOpened = false; - this.searchResultComponet.close(); - return; - } + //Do nothing + return; } //Once this method is called //the search results page must be opened diff --git a/src/ui_ng/src/app/config/config.component.1.html b/src/ui_ng/src/app/config/config.component.1.html new file mode 100644 index 000000000..a4be64f0c --- /dev/null +++ b/src/ui_ng/src/app/config/config.component.1.html @@ -0,0 +1,62 @@ +