Considerable cleanup and merge
This commit is contained in:
@@ -64,7 +64,9 @@ export default class ContactQRScanShow extends Vue {
|
||||
} else {
|
||||
const identity = JSON.parse(account?.identity || "null");
|
||||
if (!identity) {
|
||||
throw new Error("No identity found.");
|
||||
throw new Error(
|
||||
"An ID is chosen but there are no keys for it so it cannot be used to talk with the service."
|
||||
);
|
||||
}
|
||||
|
||||
const publicKeyHex = identity.keys[0].publicKeyHex;
|
||||
|
||||
Reference in New Issue
Block a user