Skip to content

Commit b26ee4c

Browse files
committed
add output type
Signed-off-by: Ahalya Radhakrishnan <[email protected]>
1 parent 3eca400 commit b26ee4c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/datasources/alarms/components/editors/list-alarms/ListAlarmsQueryEditor.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,17 @@ export function ListAlarmsQueryEditor({ query, handleQueryChange, datasource }:
9696

9797
return (
9898
<Stack direction='column'>
99+
<InlineField
100+
label={labels.outputType}
101+
labelWidth={LABEL_WIDTH}
102+
tooltip={tooltips.outputType}
103+
>
104+
<RadioButtonGroup
105+
options={enumToOptions(OutputType)}
106+
value={query.outputType}
107+
onChange={onOutputTypeChange}
108+
/>
109+
</InlineField>
99110
{query.outputType === OutputType.Properties && (
100111
<InlineField
101112
label={labels.properties}

0 commit comments

Comments
 (0)