diff --git a/frontend/components/EntityShowSubInformation.vue b/frontend/components/EntityShowSubInformation.vue index 55e0892..a2bc7cc 100644 --- a/frontend/components/EntityShowSubInformation.vue +++ b/frontend/components/EntityShowSubInformation.vue @@ -41,6 +41,10 @@ const renderDatapointValue = (datapoint) => { const value = getDatapointValue(datapoint) if (value === null || value === undefined || value === "") return "-" + if (datapoint.displayFunction) { + return datapoint.displayFunction(value, props.item) + } + if (datapoint.inputType === "date") { return dayjs(value).isValid() ? dayjs(value).format("DD.MM.YYYY") : String(value) }