Skip to content

Commit

Permalink
feat: change the shell header multibutton to always display new
Browse files Browse the repository at this point in the history
refs: SHELL-28 (#197)
  • Loading branch information
CataldoMazzilli authored Feb 2, 2023
1 parent ba4c8f7 commit 29ceeea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shell/creation-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const CreationButtonComponent: FC<{ activeRoute: AppRoute; location: Loca
data-testid="NewItemButton"
size="extralarge"
background="primary"
label={primaryAction?.label ?? t('new', 'New')}
label={t('new', 'New')}
onClick={primaryAction?.click}
items={secondaryActions}
disabledPrimary={!primaryAction || primaryAction?.disabled}
Expand Down

0 comments on commit 29ceeea

Please sign in to comment.