feat(ext/popup): render custom sections in all 6 type detail views
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user