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
a4824085
Commit
a4824085
authored
Jan 23, 2019
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unused alertingSrv
parent
874792df
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
16 deletions
+0
-16
public/app/features/dashboard/alerting_srv.ts
+0
-13
public/app/features/dashboard/dashboard_ctrl.ts
+0
-2
public/app/features/dashboard/index.ts
+0
-1
No files found.
public/app/features/dashboard/alerting_srv.ts
deleted
100644 → 0
View file @
874792df
import
coreModule
from
'app/core/core_module'
;
export
class
AlertingSrv
{
dashboard
:
any
;
alerts
:
any
[];
init
(
dashboard
,
alerts
)
{
this
.
dashboard
=
dashboard
;
this
.
alerts
=
alerts
||
[];
}
}
coreModule
.
service
(
'alertingSrv'
,
AlertingSrv
);
public/app/features/dashboard/dashboard_ctrl.ts
View file @
a4824085
...
@@ -22,7 +22,6 @@ export class DashboardCtrl {
...
@@ -22,7 +22,6 @@ export class DashboardCtrl {
private
keybindingSrv
,
private
keybindingSrv
,
private
timeSrv
,
private
timeSrv
,
private
variableSrv
,
private
variableSrv
,
private
alertingSrv
,
private
dashboardSrv
,
private
dashboardSrv
,
private
unsavedChangesSrv
,
private
unsavedChangesSrv
,
private
dashboardViewStateSrv
,
private
dashboardViewStateSrv
,
...
@@ -54,7 +53,6 @@ export class DashboardCtrl {
...
@@ -54,7 +53,6 @@ export class DashboardCtrl {
// init services
// init services
this
.
timeSrv
.
init
(
dashboard
);
this
.
timeSrv
.
init
(
dashboard
);
this
.
alertingSrv
.
init
(
dashboard
,
data
.
alerts
);
this
.
annotationsSrv
.
init
(
dashboard
);
this
.
annotationsSrv
.
init
(
dashboard
);
// template values service needs to initialize completely before
// template values service needs to initialize completely before
...
...
public/app/features/dashboard/index.ts
View file @
a4824085
import
'./dashboard_ctrl'
;
import
'./dashboard_ctrl'
;
import
'./alerting_srv'
;
import
'./dashboard_loader_srv'
;
import
'./dashboard_loader_srv'
;
import
'./save_as_modal'
;
import
'./save_as_modal'
;
import
'./save_modal'
;
import
'./save_modal'
;
...
...
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