+
+ Name
+
+ |
+
+
+ Value
+
+ |
+
+
+ Default
+
+ |
+
---|---|---|
+
+ test param
+
+ |
+
+
+
+
+
+ ×
+
+ |
+
+
+
+
+ |
+
+
+ Report Format
+
+ |
+
+
+
+
+ example-configurable-1
+
+
+
+ |
+ ||||||||||||
+
+ Parameters
+
+ |
+
+
+
+
+
+
|
+ ||||||||||||
+
+ Alerts using this Report Config
+
+ |
+ + + | +
+
+ Report Format
+
+ |
+
+
+
+
+ |
+ |
+
+ Parameters
+
+ |
+
+
+
+
+
+
|
+
+
+ Report Format
+
+ |
+
+
+
+
+ example-configurable-1
+
+
+
+ |
+ ||||||||||||
+
+ Parameters
+
+ |
+
+
+
+
+
+
|
+ ||||||||||||
+
+ Alerts using this Report Config
+
+ |
+ + + | +
+
+ Name
+
+ |
+
+
+ Value
+
+ |
+
+
+ Default
+
+ |
+
---|---|---|
+
+ StringParam
+
+ |
+
+
+
+
+
+ ×
+
+ |
+
+
+
+
+ |
+
+
+ TextParam
+
+ |
+
+
+
+
+
+ ×
+
+ |
+
+
+
+
+ |
+
+
+ IntegerParam
+
+ |
+
+
+
+
+
+ ▲
+
+
+ ▼
+
+
+
+ |
+
+
+
+
+ |
+
+
+ BooleanParam
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+ SelectionParam
+
+ |
+
+
+
+
+
+
+
+
+
+
+ OptionB
+
+
+
+ ▼
+
+
+
+ ×
+
+ |
+
+
+
+
+ |
+
+
+ ReportFormatListParam
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ×
+
+
+ non-configurable-1
+
+
+
+
+
+
+ ×
+
+
+ non-configurable-2
+
+
+
+ ▼
+
+
+
+ ×
+
+ |
+
+
+
+
+ |
+
+
+
+ Name
+
+
+ |
+
+
+
+ Report Format
+
+
+ |
+
+
+ Actions
+
+ |
+
---|---|---|
+
+
+
+
+
+
+
+ foo
+
+
+
+
+ (
+ bar
+ )
+
+ |
+
+
+
+
+ baz
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Apply to page contents
+
+
+
+ ▼
+
+
+
+ ×
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+ Name
+
+ |
+
+
+ Report Format
+
+ |
+
+
+ Actions
+
+ |
+
---|---|---|
+
+
+
+
+
+
+
+ foo
+
+
+
+
+ (
+ bar
+ )
+
+ |
+
+
+
+
+ baz
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+ lorem
+
+
+
+
+ (
+ ipsum
+ )
+
+ |
+
+
+
+
+ dolor
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+ hello
+
+
+
+
+ (
+ world
+ )
+
+ |
+
+
+
+
+ baz
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ▼
+
+
+
+ ×
+
+
+
+
+
+
+
+
+
+
+
+ |
+
{value}; + } else if (param.type === 'boolean') { + return renderYesNo(value); + } + + return value; +}; + +ReportConfigParamValue.propTypes = { + links: PropTypes.bool, + param: PropTypes.any.isRequired, + value: PropTypes.any, + value_labels: PropTypes.object, +}; + +const ReportConfigDetails = ({entity, links = true}) => { + const {orphan, report_format, params, alerts = []} = entity; + + const reportFormatLink = orphan ? ( + report_format.id + ) : ( +