From 205ca5546029e063b5ca508b44f0fe0b04d22fd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olov=20Ylinenp=C3=A4=C3=A4?= Date: Thu, 29 Sep 2022 15:49:59 +0200 Subject: [PATCH 1/2] Bump version number --- vue-client/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vue-client/package.json b/vue-client/package.json index dedd79dab..9790ad474 100644 --- a/vue-client/package.json +++ b/vue-client/package.json @@ -1,6 +1,6 @@ { "name": "vue-client", - "version": "1.27.4", + "version": "1.27.5", "private": true, "scripts": { "serve": "vue-cli-service serve", From c3c2ed7e4239e54facf85efdbd76070596056a65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olov=20Ylinenp=C3=A4=C3=A4?= Date: Thu, 29 Sep 2022 15:51:17 +0200 Subject: [PATCH 2/2] Don't show reverse/itemOf in cards. This is a workaround. inverseOf: itemOf should be moved to search cards in display.jsonld instead. --- lxljs/display.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxljs/display.js b/lxljs/display.js index 70bfcab47..554ed6c88 100644 --- a/lxljs/display.js +++ b/lxljs/display.js @@ -66,7 +66,7 @@ function tryGetValueByLang(item, propertyId, langCode, context) { throw new Error('tryGetValueByLang was called with an undefined object.'); } - if (typeof propertyId === 'string' && propertyId.startsWith('@reverse/')) { + if (typeof propertyId === 'string' && propertyId.startsWith('@reverse/') && propertyId !== '@reverse/itemOf') { return get(item, propertyId.replaceAll('/', '.')); }