mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
CircleCI: Run golangci-lint in two batches (#23021)
* CircleCI: Run golangci-lint in two batches Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * CircleCI: Fix typo Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * Chore: adds fallback value to time series class * Chore: changes fallback value from null to empty string in FilterInput component * Update public/app/core/time_series2.ts Co-Authored-By: Hugo Häggmark <hugo.haggmark@grafana.com> * Chore: updates || to ?? operators Co-authored-by: Lukas Siatka <lukasz.siatka@grafana.com> Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
This commit is contained in:
@@ -15,9 +15,9 @@ export const FilterInput = forwardRef<HTMLInputElement, Props>((props, ref) => (
|
||||
ref={ref}
|
||||
type="text"
|
||||
className={props.inputClassName}
|
||||
value={unEscapeStringFromRegex(props.value)}
|
||||
value={props.value ? unEscapeStringFromRegex(props.value) : ''}
|
||||
onChange={event => props.onChange(escapeStringForRegex(event.target.value))}
|
||||
placeholder={props.placeholder ? props.placeholder : null}
|
||||
placeholder={props.placeholder ?? ''}
|
||||
/>
|
||||
<i className="gf-form-input-icon fa fa-search" />
|
||||
</label>
|
||||
|
Reference in New Issue
Block a user