From 83076e312ea23cb4114f00a6ec822a6cfac746df Mon Sep 17 00:00:00 2001 From: D4ntin <9372835+D4ntin@users.noreply.github.com> Date: Mon, 12 Jan 2026 22:50:04 +0100 Subject: [PATCH] fix: ResultProperty.vue Fixes a TypeError with reading a property of type undefined. It occurs on the `#display=template` result setting on properties that don't have a dateKey. --- src/components/ResultProperty.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/ResultProperty.vue b/src/components/ResultProperty.vue index df61a06..8afd08e 100644 --- a/src/components/ResultProperty.vue +++ b/src/components/ResultProperty.vue @@ -252,8 +252,8 @@ export default { const dateKey = calendarSettings && calendarSettings.key ? `P:${calendarSettings.key}` : 'P:29'; if ( this.data[source][dateKey] - || this.data[source][dateKey].dat_raw - || this.data[source][dateKey].dat_raw[0] + && this.data[source][dateKey].dat_raw + && this.data[source][dateKey].dat_raw[0] ) { const [, year, month, day] = this.data[source][dateKey].dat_raw[0].split('/'); outData.date = `${year}-${month}-${day}`;