Explore: fix logs panel top action switches labeling (#41350)

* Explore: fix logs panel top action switches labeling

* fix typo

Co-authored-by: Maria Alexandra <239999+axelavargas@users.noreply.github.com>

Co-authored-by: Maria Alexandra <239999+axelavargas@users.noreply.github.com>
This commit is contained in:
Giordano Ricci 2021-11-10 10:00:18 +00:00 committed by GitHub
parent cd5277befd
commit 2139a3dfa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -321,16 +321,21 @@ class UnthemedLogs extends PureComponent<Props, State> {
<div className={styles.logOptions} ref={this.topLogsRef}>
<InlineFieldRow>
<InlineField label="Time" transparent>
<InlineSwitch value={showTime} onChange={this.onChangeTime} transparent />
<InlineSwitch value={showTime} onChange={this.onChangeTime} transparent id="show-time" />
</InlineField>
<InlineField label="Unique labels" transparent>
<InlineSwitch value={showLabels} onChange={this.onChangeLabels} transparent />
<InlineSwitch value={showLabels} onChange={this.onChangeLabels} transparent id="unique-labels" />
</InlineField>
<InlineField label="Wrap lines" transparent>
<InlineSwitch value={wrapLogMessage} onChange={this.onChangewrapLogMessage} transparent />
<InlineSwitch value={wrapLogMessage} onChange={this.onChangewrapLogMessage} transparent id="wrap-lines" />
</InlineField>
<InlineField label="Prettify JSON" transparent>
<InlineSwitch value={prettifyLogMessage} onChange={this.onChangePrettifyLogMessage} transparent />
<InlineSwitch
value={prettifyLogMessage}
onChange={this.onChangePrettifyLogMessage}
transparent
id="prettify"
/>
</InlineField>
<InlineField label="Dedup" transparent>
<RadioButtonGroup