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
62165f91
Commit
62165f91
authored
Jan 09, 2018
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: added back colors to rootScope, fixes #10462
parent
044a4475
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
public/app/core/components/grafana_app.ts
+3
-0
No files found.
public/app/core/components/grafana_app.ts
View file @
62165f91
...
...
@@ -7,6 +7,7 @@ import { profiler } from 'app/core/profiler';
import
appEvents
from
'app/core/app_events'
;
import
Drop
from
'tether-drop'
;
import
{
createStore
}
from
'app/stores/store'
;
import
colors
from
'app/core/utils/colors'
;
export
class
GrafanaCtrl
{
/** @ngInject */
...
...
@@ -26,6 +27,8 @@ export class GrafanaCtrl {
$scope
.
dashAlerts
=
alertSrv
;
};
$rootScope
.
colors
=
colors
;
$scope
.
initDashboard
=
function
(
dashboardData
,
viewScope
)
{
$scope
.
appEvent
(
'dashboard-fetch-end'
,
dashboardData
);
$controller
(
'DashboardCtrl'
,
{
$scope
:
viewScope
}).
init
(
dashboardData
);
...
...
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