Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix - custom fields text #1380

Merged
merged 1 commit into from
Sep 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix - custom fields text
  • Loading branch information
Cristi-007 committed Sep 17, 2024
commit d3c49eeb3de5cc8a8b2ff1c6139b16fc43d1ed38
2 changes: 1 addition & 1 deletion source/main/library/build.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// This file updated automatically: changes made here will be overwritten!

export const VERSION = "2.28.0";
export const VERSION = "2.28.1";
12 changes: 8 additions & 4 deletions source/renderer/components/vault/EntryDetails.tsx
Original file line number Diff line number Diff line change
@@ -53,18 +53,22 @@ const FIELD_TYPE_OPTIONS: Array<{
icon: IconName | MaybeElement;
type: EntryPropertyValueType;
}> = [
{ type: EntryPropertyValueType.Text, i18nKey: "custom-fields.field-type.text", icon: "italic" },
{ type: EntryPropertyValueType.Text,
i18nKey: "vault-ui.custom-fields.field-type.text",
icon: "italic" },
{
type: EntryPropertyValueType.Note,
i18nKey: "custom-fields.field-type.note",
i18nKey: "vault-ui.custom-fields.field-type.note",
icon: "align-left"
},
{
type: EntryPropertyValueType.Password,
i18nKey: "custom-fields.field-type.password",
i18nKey: "vault-ui.custom-fields.field-type.password",
icon: "key"
},
{ type: EntryPropertyValueType.OTP, i18nKey: "custom-fields.field-type.otp", icon: "time" }
{ type: EntryPropertyValueType.OTP,
i18nKey: "vault-ui.custom-fields.field-type.otp",
icon: "time" }
];

function iconName(mimeType) {