Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
f93c289f
Unverified
Commit
f93c289f
authored
Jul 17, 2020
by
kay delaney
Committed by
GitHub
Jul 17, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Datasource/CloudWatch: Fix some react errors (#26236)
parent
373e8696
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
public/app/plugins/datasource/cloudwatch/components/LogsCheatSheet.tsx
+5
-5
public/app/plugins/datasource/cloudwatch/components/LogsQueryField.tsx
+1
-1
No files found.
public/app/plugins/datasource/cloudwatch/components/LogsCheatSheet.tsx
View file @
f93c289f
...
...
@@ -256,13 +256,13 @@ export default class LogsCheatSheet extends PureComponent<ExploreStartPageProps,
return
(
<
div
>
<
h2
>
CloudWatch Logs Cheat Sheet
</
h2
>
{
CLIQ_EXAMPLES
.
map
(
cat
=>
(
<
div
>
{
CLIQ_EXAMPLES
.
map
(
(
cat
,
i
)
=>
(
<
div
key=
{
`cat-${i}`
}
>
<
div
className=
{
`cheat-sheet-item__title ${cx(exampleCategory)}`
}
>
{
cat
.
category
}
</
div
>
{
cat
.
examples
.
map
((
item
,
i
)
=>
(
<
div
className=
"cheat-sheet-item"
key=
{
`item-${
i
}`
}
>
{
cat
.
examples
.
map
((
item
,
j
)
=>
(
<
div
className=
"cheat-sheet-item"
key=
{
`item-${
j
}`
}
>
<
h4
>
{
item
.
title
}
</
h4
>
{
this
.
renderExpression
(
item
.
expr
,
`item-${
i
}`
)
}
{
this
.
renderExpression
(
item
.
expr
,
`item-${
j
}`
)
}
</
div
>
))
}
</
div
>
...
...
public/app/plugins/datasource/cloudwatch/components/LogsQueryField.tsx
View file @
f93c289f
...
...
@@ -155,7 +155,7 @@ export class CloudWatchLogsQueryField extends React.PureComponent<CloudWatchLogs
onLogGroupSearchDebounced
=
debounce
(
this
.
onLogGroupSearch
,
300
);
component
Will
Mount
=
()
=>
{
component
Did
Mount
=
()
=>
{
const
{
datasource
,
query
,
onChange
}
=
this
.
props
;
this
.
setState
({
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment