Skip to content

Commit

Permalink
[risk=low][no ticket] Restore user admin bypass UI (#8779)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmthibault79 authored Sep 10, 2024
1 parent dca665a commit c0a61de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/src/app/components/admin/common-toggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import colors from 'app/styles/colors';
interface CommonToggleProps {
name: string;
checked: boolean;
onToggle: (boolean) => void;
onToggle: (value: boolean) => void;
disabled?: boolean;
}
export const CommonToggle = (props: CommonToggleProps) => {
Expand Down
2 changes: 1 addition & 1 deletion ui/src/app/pages/admin/user/admin-user-profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ const ToggleForModule = (props: ToggleProps) => {
}}
>
<CommonToggle
name={`Bypass ${moduleName}`}
name=''
checked={isModuleBypassed}
onToggle={() =>
bypassUpdate({ moduleName, bypassed: !isModuleBypassed })
Expand Down

0 comments on commit c0a61de

Please sign in to comment.