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
9e4547f7
Commit
9e4547f7
authored
Dec 14, 2018
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed cloudwatch issue
parent
cb7ffb44
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
17 deletions
+14
-17
public/app/plugins/datasource/cloudwatch/query_parameter_ctrl.ts
+14
-17
No files found.
public/app/plugins/datasource/cloudwatch/query_parameter_ctrl.ts
View file @
9e4547f7
...
@@ -2,21 +2,6 @@ import angular from 'angular';
...
@@ -2,21 +2,6 @@ import angular from 'angular';
import
coreModule
from
'app/core/core_module'
;
import
coreModule
from
'app/core/core_module'
;
import
_
from
'lodash'
;
import
_
from
'lodash'
;
export
class
CloudWatchQueryParameter
{
constructor
()
{
return
{
templateUrl
:
'public/app/plugins/datasource/cloudwatch/partials/query.parameter.html'
,
controller
:
'CloudWatchQueryParameterCtrl'
,
restrict
:
'E'
,
scope
:
{
target
:
'='
,
datasource
:
'='
,
onChange
:
'&'
,
},
};
}
}
export
class
CloudWatchQueryParameterCtrl
{
export
class
CloudWatchQueryParameterCtrl
{
/** @ngInject */
/** @ngInject */
constructor
(
$scope
,
templateSrv
,
uiSegmentSrv
,
datasourceSrv
,
$q
)
{
constructor
(
$scope
,
templateSrv
,
uiSegmentSrv
,
datasourceSrv
,
$q
)
{
...
@@ -240,5 +225,17 @@ export class CloudWatchQueryParameterCtrl {
...
@@ -240,5 +225,17 @@ export class CloudWatchQueryParameterCtrl {
}
}
}
}
coreModule
.
directive
(
'cloudwatchQueryParameter'
,
CloudWatchQueryParameter
);
export
function
cloudWatchQueryParameter
()
{
coreModule
.
controller
(
'CloudWatchQueryParameterCtrl'
,
CloudWatchQueryParameterCtrl
);
return
{
templateUrl
:
'public/app/plugins/datasource/cloudwatch/partials/query.parameter.html'
,
controller
:
CloudWatchQueryParameterCtrl
,
restrict
:
'E'
,
scope
:
{
target
:
'='
,
datasource
:
'='
,
onChange
:
'&'
,
},
};
}
coreModule
.
directive
(
'cloudwatchQueryParameter'
,
cloudWatchQueryParameter
);
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