diff --git a/frontend/src/components/Passport.vue b/frontend/src/components/Passport.vue index 907c37b..913b927 100644 --- a/frontend/src/components/Passport.vue +++ b/frontend/src/components/Passport.vue @@ -55,7 +55,7 @@ export default { isProductPassport() { if (this.credentials.length < 1) return false; return this.credentials.filter(function (credential) { - return credential['@context'].some(c => typeof c == 'string' && c.startsWith('https://ssi.eecc.de/api/registry/context/productpassport')) + return credential['@context'].some(c => typeof c == 'string' && c.startsWith('https://ssi.eecc.de/api/registry/context') && c.includes('/productpassport')) }).length > 0; } } diff --git a/frontend/src/store/index.js b/frontend/src/store/index.js index af2860c..318df80 100644 --- a/frontend/src/store/index.js +++ b/frontend/src/store/index.js @@ -3,7 +3,7 @@ import { createStore } from 'vuex' export default createStore({ state: { - version: '1.4.2', + version: '1.4.3', verifiables: [], VC_REGISTRY: process.env.VC_REGISTRY || 'https://ssi.eecc.de/api/registry/vcs/', OPENID_ENDPOINT: process.env.OPENID_ENDPOINT || 'https://ssi.eecc.de/api/openid/',