feat(ext/popup): render custom sections in all 6 type detail views

This commit is contained in:
adlee-was-taken
2026-04-24 10:35:46 -04:00
parent 3f12543c81
commit 553d9d7ca9
7 changed files with 13 additions and 7 deletions

View File

@@ -145,8 +145,7 @@ export function renderSections(item: Item, idPrefix: string): string {
visibleFields.forEach((field, fIdx) => {
if (field.value.kind === 'text') {
out += renderRow({ label: field.label, value: field.value.value, copyable: true });
} else {
// password or concealed
} else if (field.value.kind === 'password' || field.value.kind === 'concealed') {
out += renderConcealedRow({
id: `${idPrefix}-s${sIdx}-f${fIdx}`,
label: field.label,