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
c7e38fd4
Unverified
Commit
c7e38fd4
authored
Jun 08, 2020
by
Besart Berisha
Committed by
GitHub
Jun 08, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace link with button component (#25446)
parent
d62926b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
public/app/features/explore/Logs.tsx
+5
-5
No files found.
public/app/features/explore/Logs.tsx
View file @
c7e38fd4
...
...
@@ -15,7 +15,7 @@ import {
LinkModel
,
Field
,
}
from
'@grafana/data'
;
import
{
LegacyForms
,
LogLabels
,
ToggleButtonGroup
,
ToggleButton
,
LogRows
}
from
'@grafana/ui'
;
import
{
LegacyForms
,
LogLabels
,
ToggleButtonGroup
,
ToggleButton
,
LogRows
,
Button
}
from
'@grafana/ui'
;
const
{
Switch
}
=
LegacyForms
;
import
store
from
'app/core/store'
;
...
...
@@ -256,18 +256,18 @@ export class Logs extends PureComponent<Props, State> {
{
!
loading
&&
!
hasData
&&
!
scanning
&&
(
<
div
className=
"logs-panel-nodata"
>
No logs found.
<
a
className
=
"link"
onClick=
{
this
.
onClickScan
}
>
<
Button
size=
"xs"
variant
=
"link"
onClick=
{
this
.
onClickScan
}
>
Scan for older logs
</
a
>
</
Button
>
</
div
>
)
}
{
scanning
&&
(
<
div
className=
"logs-panel-nodata"
>
<
span
>
{
scanText
}
</
span
>
<
a
className
=
"link"
onClick=
{
this
.
onClickStopScan
}
>
<
Button
size=
"xs"
variant
=
"link"
onClick=
{
this
.
onClickStopScan
}
>
Stop scan
</
a
>
</
Button
>
</
div
>
)
}
</
div
>
...
...
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