Commit eeeea7fb by Ivana Huckova Committed by GitHub

Explore: Capitalize dedup strategy in radio buttons for consistency (#26961)

* Update LogsDedupStrategy enum to keep consistent with radio button capitalization

* Revert "Update LogsDedupStrategy enum to keep consistent with radio button capitalization"

This reverts commit 0b05cd4e004fd3e9c78b3cec776961ae874b912d.

* Capitalize dedup strategy in radio buttons
parent d6648531
import React, { PureComponent } from 'react';
import { css, cx } from 'emotion';
import { capitalize } from 'lodash';
import {
rangeUtil,
......@@ -256,7 +257,7 @@ export class Logs extends PureComponent<Props, State> {
// @ts-ignore
tooltip={LogsDedupDescription[dedupType]}
>
{dedupType}
{capitalize(dedupType)}
</ToggleButton>
))}
</ToggleButtonGroup>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment