IndexedDB migration: implement the migrations differently

This commit is contained in:
2025-06-19 17:26:30 -06:00
parent 4e215914a3
commit 37f2ba1382
6 changed files with 181 additions and 496 deletions

View File

@@ -566,7 +566,7 @@ export default class ContactImportView extends Vue {
this.checkingImports = true;
try {
const jwt: string = getContactJwtFromJwtUrl(jwtInput);
const jwt: string = getContactJwtFromJwtUrl(jwtInput) || "";
const payload = decodeEndorserJwt(jwt).payload;
if (Array.isArray(payload.contacts)) {