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
48c18ee8
Commit
48c18ee8
authored
Jul 31, 2014
by
Jordan Rinke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed 2 coding errors noted by travis
parent
f5d5d9a5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
src/app/services/influxdb/influxdbDatasource.js
+2
-1
No files found.
src/app/services/influxdb/influxdbDatasource.js
View file @
48c18ee8
...
...
@@ -253,7 +253,7 @@ function (angular, _, kbn, InfluxSeries) {
var
dashboardClone
=
angular
.
copy
(
dashboard
);
var
tags
=
dashboardClone
.
tags
.
join
(
','
);
title
=
dashboardClone
.
title
=
title
?
title
:
dashboard
.
title
;
var
ttl
=
dashboard
.
loader
.
save_temp_ttl
var
ttl
=
dashboard
.
loader
.
save_temp_ttl
;
var
ttlLength
=
ttl
.
substring
(
0
,
ttl
.
length
-
1
);
var
ttlTerm
=
ttl
.
substring
(
ttl
.
length
-
1
,
ttl
.
length
).
toLowerCase
();
var
expires
=
Date
.
now
();
...
...
@@ -266,6 +266,7 @@ function (angular, _, kbn, InfluxSeries) {
break
;
case
"w"
:
expires
+=
ttlLength
*
604800000
;
break
;
default
:
throw
"Unknown ttl duration format"
;
}
...
...
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