Scopes: Add wrapping to selected scopes in command palette (#105828)

Add wrapping to selected scopes
pull/105702/head
Andrej Ocenas 7 months ago committed by GitHub
parent 18216a9a15
commit bd22c854b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      public/app/features/commandPalette/ScopesRow.tsx

@ -26,6 +26,7 @@ export function ScopesRow({ treeScopes, isDirty, apply, toggleNode }: Props) {
<span className={styles.scopesText}> <span className={styles.scopesText}>
<Trans i18nKey={'command-palette.scopes.selected-scopes-label'}>Scopes: </Trans> <Trans i18nKey={'command-palette.scopes.selected-scopes-label'}>Scopes: </Trans>
</span> </span>
<Stack wrap={'wrap'}>
{treeScopes?.map((scope) => { {treeScopes?.map((scope) => {
return ( return (
<FilterPill <FilterPill
@ -40,6 +41,7 @@ export function ScopesRow({ treeScopes, isDirty, apply, toggleNode }: Props) {
); );
})} })}
</Stack> </Stack>
</Stack>
{isDirty && ( {isDirty && (
<Button <Button
onClick={() => { onClick={() => {

Loading…
Cancel
Save