mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Navigation: Remove commandPalette feature toggle (#62698)
* remove command palette feature toggle * undo irrelevant AppChrome changes * update toggle description
This commit is contained in:
@@ -31,7 +31,7 @@ export function AppChrome({ children }: Props) {
|
||||
<>
|
||||
<NavBar />
|
||||
<SearchWrapper />
|
||||
{featureToggles.commandPalette && <CommandPalette />}
|
||||
<CommandPalette />
|
||||
</>
|
||||
)}
|
||||
<main className="main-view">{children}</main>
|
||||
|
||||
@@ -26,12 +26,11 @@ export function TopSearchBar() {
|
||||
const helpNode = navIndex['help'];
|
||||
const profileNode = navIndex['profile'];
|
||||
|
||||
const search =
|
||||
config.featureToggles.commandPalette && config.featureToggles.topNavCommandPalette ? (
|
||||
<TopSearchBarCommandPaletteTrigger />
|
||||
) : (
|
||||
<TopSearchBarInput />
|
||||
);
|
||||
const search = config.featureToggles.topNavCommandPalette ? (
|
||||
<TopSearchBarCommandPaletteTrigger />
|
||||
) : (
|
||||
<TopSearchBarInput />
|
||||
);
|
||||
|
||||
return (
|
||||
<div className={styles.layout}>
|
||||
|
||||
Reference in New Issue
Block a user