Skip to content

Commit

Permalink
fix(dashboard): use more descriptive name for the settings label
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbuss authored and diehbria committed Dec 18, 2023
1 parent b1ca8ae commit 2d0b36c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/dashboard/src/components/actions/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,12 @@ const Actions: React.FC<ActionsProps> = ({
{onSave && <Button onClick={handleOnSave}>Save</Button>}
{editable && <Button onClick={handleOnReadOnly}>{readOnly ? 'Edit' : 'Preview'}</Button>}
{editable && !readOnly && (
<Button onClick={() => setSettingVisibility(true)} iconName='settings' variant='icon' ariaLabel='Settings' />
<Button
onClick={() => setSettingVisibility(true)}
iconName='settings'
variant='icon'
ariaLabel='Dashboard settings'
/>
)}
<DashboardSettings isVisible={dashboardSettingsVisible} onClose={() => setSettingVisibility(false)} />
</SpaceBetween>
Expand Down

0 comments on commit 2d0b36c

Please sign in to comment.