mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-25 02:08:28 +02:00
Fix Typos (#255)
This commit is contained in:
@@ -254,7 +254,7 @@ const EnvironmentEditor = function ({
|
|||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
<BadgeButton color="secondary" onClick={() => valueVisibility.set((v) => !v)}>
|
<BadgeButton color="secondary" onClick={() => valueVisibility.set((v) => !v)}>
|
||||||
{valueVisibility.value ? 'Conceal Values' : 'Reveal Values'}
|
{valueVisibility.value ? 'Hide Values' : 'Show Values'}
|
||||||
</BadgeButton>
|
</BadgeButton>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -440,7 +440,7 @@ function EncryptionInput({
|
|||||||
const dropdownItems = useMemo<DropdownItem[]>(
|
const dropdownItems = useMemo<DropdownItem[]>(
|
||||||
() => [
|
() => [
|
||||||
{
|
{
|
||||||
label: state.obscured ? 'Reveal' : 'Conceal',
|
label: state.obscured ? 'Show' : 'Hide',
|
||||||
disabled: isEncryptionEnabled && state.fieldType === 'text',
|
disabled: isEncryptionEnabled && state.fieldType === 'text',
|
||||||
leftSlot: <Icon icon={state.obscured ? 'eye' : 'eye_closed'} />,
|
leftSlot: <Icon icon={state.obscured ? 'eye' : 'eye_closed'} />,
|
||||||
onSelect: () => setState((s) => ({ ...s, obscured: !s.obscured })),
|
onSelect: () => setState((s) => ({ ...s, obscured: !s.obscured })),
|
||||||
|
|||||||
Reference in New Issue
Block a user