From a2c8a3d2e89356503bbf33800d9ac66b805f9512 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ricks?= Date: Wed, 17 Jan 2024 10:19:54 +0100 Subject: [PATCH] Fix: Fix opening report format dialog Opening the report format dialog wasn't possible because a required prop was not passed. This wasn't spotted because currently there is no non predefined report format thus no report format is editable. --- src/web/pages/reportformats/component.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/web/pages/reportformats/component.js b/src/web/pages/reportformats/component.js index 8045929d51..a58127f771 100644 --- a/src/web/pages/reportformats/component.js +++ b/src/web/pages/reportformats/component.js @@ -128,7 +128,7 @@ class ReportFormatComponent extends React.Component { render() { const {children, onDeleted, onDeleteError, onInteraction} = this.props; - const {dialogVisible, reportformat, title} = this.state; + const {dialogVisible, reportformat, title, preferences} = this.state; return (