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
8a396acd
Unverified
Commit
8a396acd
authored
Mar 25, 2019
by
Peter Holmberg
Committed by
GitHub
Mar 25, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(panel/table): Fix for white text on white background when value is null
parent
4898502e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
public/app/plugins/panel/table/renderer.ts
+3
-2
No files found.
public/app/plugins/panel/table/renderer.ts
View file @
8a396acd
...
...
@@ -110,6 +110,7 @@ export class TableRenderer {
if
(
this
.
isUtc
)
{
date
=
date
.
utc
();
}
return
date
.
format
(
column
.
style
.
dateFormat
);
};
}
...
...
@@ -308,13 +309,13 @@ export class TableRenderer {
const
startPos
=
page
*
pageSize
;
const
endPos
=
Math
.
min
(
startPos
+
pageSize
,
this
.
table
.
rows
.
length
);
let
html
=
''
;
const
rowClasses
=
[];
let
rowClass
=
''
;
for
(
let
y
=
startPos
;
y
<
endPos
;
y
++
)
{
const
row
=
this
.
table
.
rows
[
y
];
let
cellHtml
=
''
;
let
rowStyle
=
''
;
const
rowClasses
=
[];
let
rowClass
=
''
;
for
(
let
i
=
0
;
i
<
this
.
table
.
columns
.
length
;
i
++
)
{
cellHtml
+=
this
.
renderCell
(
i
,
y
,
row
[
i
],
y
===
startPos
);
}
...
...
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