Skip to content

Commit

Permalink
front: display the stdcm user help for all users
Browse files Browse the repository at this point in the history
Signed-off-by: Clara Ni <clara.ni@outlook.fr>
  • Loading branch information
clarani committed Jan 16, 2025
1 parent 9151b80 commit 77ca813
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions front/src/applications/stdcm/components/StdcmHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ const StdcmHeader = ({
{t('stdcm:notificationTitle')}
</span>
</div>
{isSuperUser && (
<div className="stdcm-header__debug">
<div className="stdcm-header__debug">
{isSuperUser && (
<button
data-testid="stdcm-debug-button"
type="button"
Expand All @@ -49,17 +49,17 @@ const StdcmHeader = ({
>
<Bug />
</button>
<button
type="button"
data-testid="stdcm-help-button"
aria-label="stdcm-help"
className={cx('ml-4 px-3', { selected: showHelpModule })}
onClick={() => toggleHelpModule()}
>
{t('translation:common.help')}
</button>
</div>
)}
)}
<button
type="button"
data-testid="stdcm-help-button"
aria-label="stdcm-help"
className={cx('ml-4 px-3', { selected: showHelpModule })}
onClick={() => toggleHelpModule()}
>
{t('translation:common.help')}
</button>
</div>
</div>
);
};
Expand Down

0 comments on commit 77ca813

Please sign in to comment.