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
27c08134
Commit
27c08134
authored
Jul 24, 2018
by
Tobias Skarhed
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove old influx stuff
parent
51caf470
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
3 deletions
+1
-3
public/app/plugins/datasource/influxdb/query_ctrl.ts
+1
-1
public/app/plugins/datasource/influxdb/specs/query_ctrl_specs.ts
+0
-2
No files found.
public/app/plugins/datasource/influxdb/query_ctrl.ts
View file @
27c08134
...
@@ -338,7 +338,7 @@ export class InfluxQueryCtrl extends QueryCtrl {
...
@@ -338,7 +338,7 @@ export class InfluxQueryCtrl extends QueryCtrl {
this
.
tagSegments
.
push
(
this
.
uiSegmentSrv
.
newPlusButton
());
this
.
tagSegments
.
push
(
this
.
uiSegmentSrv
.
newPlusButton
());
}
}
}
}
console
.
log
(
this
.
tagSegments
);
this
.
rebuildTargetTagConditions
();
this
.
rebuildTargetTagConditions
();
}
}
...
...
public/app/plugins/datasource/influxdb/specs/query_ctrl_specs.ts
View file @
27c08134
...
@@ -57,13 +57,11 @@ describe('InfluxDBQueryCtrl', function() {
...
@@ -57,13 +57,11 @@ describe('InfluxDBQueryCtrl', function() {
});
});
it
(
'should update tag key'
,
function
()
{
it
(
'should update tag key'
,
function
()
{
console
.
log
(
ctx
.
ctrl
.
target
.
tags
);
expect
(
ctx
.
ctrl
.
target
.
tags
[
0
].
key
).
to
.
be
(
'asd'
);
expect
(
ctx
.
ctrl
.
target
.
tags
[
0
].
key
).
to
.
be
(
'asd'
);
expect
(
ctx
.
ctrl
.
tagSegments
[
0
].
type
).
to
.
be
(
'key'
);
expect
(
ctx
.
ctrl
.
tagSegments
[
0
].
type
).
to
.
be
(
'key'
);
});
});
it
(
'should add tagSegments'
,
function
()
{
it
(
'should add tagSegments'
,
function
()
{
console
.
log
(
ctx
.
ctrl
.
tagSegments
);
expect
(
ctx
.
ctrl
.
tagSegments
.
length
).
to
.
be
(
3
);
expect
(
ctx
.
ctrl
.
tagSegments
.
length
).
to
.
be
(
3
);
});
});
});
});
...
...
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