Show the derived address path result and drop the removed cloud rows (sections 9 and 25.6)
This commit is contained in:
1 parent
69d019d54f
commit
bb34b5ab02
1 file changed
+5
-4
+5
-4
@@ -82,6 +82,8 @@ function card(title, content) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function keyLabel(record) {
|
function keyLabel(record) {
|
||||||
|
// The key name is read from the key row, so a saved check shows the name the
|
||||||
|
// key has now, which the settings may change (section 25.2).
|
||||||
const labels = (record.key_checks || []).map(
|
const labels = (record.key_checks || []).map(
|
||||||
(entry) => `Key ${entry.key_number}: ${entry.name}`,
|
(entry) => `Key ${entry.key_number}: ${entry.name}`,
|
||||||
);
|
);
|
||||||
@@ -117,12 +119,11 @@ function keyEntries(keyCheck) {
|
|||||||
entries.push(["Hardware works", displayFlag(keyCheck.hardware_works)]);
|
entries.push(["Hardware works", displayFlag(keyCheck.hardware_works)]);
|
||||||
entries.push(["Firmware version", keyCheck.firmware_version]);
|
entries.push(["Firmware version", keyCheck.firmware_version]);
|
||||||
entries.push(["Seed backup verified", keyCheck.seed_backup_verified]);
|
entries.push(["Seed backup verified", keyCheck.seed_backup_verified]);
|
||||||
} else {
|
|
||||||
entries.push(["Cloud health check", keyCheck.cloud_health_status]);
|
|
||||||
entries.push(["Provider operational", displayFlag(keyCheck.cloud_provider_operational)]);
|
|
||||||
}
|
}
|
||||||
entries.push(["Address path verified", keyCheck.address_path_verified]);
|
// The user records the address path only; the verification result is derived
|
||||||
|
// by the server, so it is shown as a derived value (sections 9 and 25.1).
|
||||||
entries.push(["Address path", keyCheck.address_path]);
|
entries.push(["Address path", keyCheck.address_path]);
|
||||||
|
entries.push(["Address path verified (derived)", keyCheck.address_path_verified]);
|
||||||
entries.push(["Comments", keyCheck.comments]);
|
entries.push(["Comments", keyCheck.comments]);
|
||||||
return entries;
|
return entries;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user