diff --git a/src/main/resources/wallet-erd.drawio.svg b/src/main/resources/wallet-erd.drawio.svg index 4b75870..aec697d 100644 --- a/src/main/resources/wallet-erd.drawio.svg +++ b/src/main/resources/wallet-erd.drawio.svg @@ -1,4 +1,4 @@ -emailsemailsPKPKid: uuidid: uuid{email}{email}passwordpasswordwalletswalletsPKPKid: uuidid: uuid{address}{address}ecosystemecosystemkeyskeysPKPKid: uuidid: uuid{kid}{kid}documentdocumentdidsdidsPKPKid: uuidid: uuid{did}{did}documentdocumentFKFKkeykeycredentialscredentialsPKPKid: uuidid: uuid{cid}{cid}documentdocumentwallet_operation_historieswallet_operation_historiesPKPKid: uuidid: uuidFKFKaccountaccounttimestamptimestampoperationoperationdatadataaccountsaccountsPKPKid: uuidid: uuidFKFKemailemailFKFKwalletwallet{email, wallet}{email, wallet}account_walletsaccount_walletsPKPKid: uuidid: uuidFKFKaccountaccountFKFKwalletwalletownerowner{account, wallet}{account, wallet}account_keysaccount_keysPKPKid: uuidid: uuidFKFKaccountaccountFKFKkeykeyaccount_didsaccount_didsPKPKid: uuidid: uuidFKFKdiddidFKFKaccountaccountaliasaliasdefaultdefaultaccount_credentialsaccount_credentialsPKPKid: uuidid: uuidFKFKaccountaccountFKFKcredentialcredentialText is not SVG - cannot display \ No newline at end of file +emailsemailsPKPKid: uuidid: uuid{email}{email}passwordpasswordwalletswalletsPKPKid: uuidid: uuid{address}{address}ecosystemecosystemkeyskeysPKPKid: uuidid: uuid{kid}{kid}documentdocumentdidsdidsPKPKid: uuidid: uuid{did}{did}documentdocumentFKFKkeykeycredentialscredentialsPKPKid: uuidid: uuid{cid}{cid}documentdocumentwallet_operation_historieswallet_operation_historiesPKPKid: uuidid: uuidFKFKaccountaccounttimestamptimestampoperationoperationdatadataaccountsaccountsPKPKid: uuidid: uuidFKFKemailemailFKFKwalletwallet{email, wallet}{email, wallet}account_walletsaccount_walletsPKPKid: uuidid: uuidFKFKaccountaccountFKFKwalletwalletownerowner{account, wallet}{account, wallet}account_keysaccount_keysPKPKid: uuidid: uuidFKFKaccountaccountFKFKkeykeyaccount_didsaccount_didsPKPKid: uuidid: uuidFKFKdiddidFKFKaccountaccountaliasaliasdefaultdefaultaccount_credentialsaccount_credentialsPKPKid: uuidid: uuidFKFKaccountaccountFKFKcredentialcredentialaccount_issuersaccount_issuersPKPKid: uuidid: uuidFKFKaccountaccountFKFKissuerissuerissuersissuersPKPKid: uuidid: uuidnamenamedescriptiondescriptionuiuiconfigurationconfigurationText is not SVG - cannot display \ No newline at end of file diff --git a/web/src/pages/settings/keys/export/[keyId].vue b/web/src/pages/settings/keys/export/[keyId].vue index 22755ca..4bea6b5 100644 --- a/web/src/pages/settings/keys/export/[keyId].vue +++ b/web/src/pages/settings/keys/export/[keyId].vue @@ -56,7 +56,7 @@ const keyId = route.params.keyId async function loadExportedKey() { const data = await $fetch(`/r/wallet/keys/load/${keyId}?format=${format}&loadPrivateKey=${loadPrivateKey}`) - exportedKey.value = data + exportedKey.value = JSON.stringify(data); } if (process.client && !loadPrivateKey) {