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
79d9b64f
Commit
79d9b64f
authored
Dec 12, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: fixed issue with optimized build grid directive missing ngInject comment, fixes #10161
parent
a37f1b77
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
public/app/features/dashboard/all.ts
+1
-1
public/app/features/dashboard/dashgrid/DashboardGrid.tsx
+0
-4
public/app/features/dashboard/dashgrid/DashboardGridDirective.ts
+4
-0
No files found.
public/app/features/dashboard/all.ts
View file @
79d9b64f
...
@@ -19,7 +19,7 @@ import './export/export_modal';
...
@@ -19,7 +19,7 @@ import './export/export_modal';
import
'./export_data/export_data_modal'
;
import
'./export_data/export_data_modal'
;
import
'./ad_hoc_filters'
;
import
'./ad_hoc_filters'
;
import
'./repeat_option/repeat_option'
;
import
'./repeat_option/repeat_option'
;
import
'./dashgrid/DashboardGrid'
;
import
'./dashgrid/DashboardGrid
Directive
'
;
import
'./dashgrid/PanelLoader'
;
import
'./dashgrid/PanelLoader'
;
import
'./dashgrid/RowOptions'
;
import
'./dashgrid/RowOptions'
;
import
'./acl/acl'
;
import
'./acl/acl'
;
...
...
public/app/features/dashboard/dashgrid/DashboardGrid.tsx
View file @
79d9b64f
import
React
from
'react'
;
import
React
from
'react'
;
import
coreModule
from
'app/core/core_module'
;
import
ReactGridLayout
from
'react-grid-layout'
;
import
ReactGridLayout
from
'react-grid-layout'
;
import
{
GRID_CELL_HEIGHT
,
GRID_CELL_VMARGIN
,
GRID_COLUMN_COUNT
}
from
'app/core/constants'
;
import
{
GRID_CELL_HEIGHT
,
GRID_CELL_VMARGIN
,
GRID_COLUMN_COUNT
}
from
'app/core/constants'
;
import
{
DashboardPanel
}
from
'./DashboardPanel'
;
import
{
DashboardPanel
}
from
'./DashboardPanel'
;
...
@@ -174,6 +173,3 @@ export class DashboardGrid extends React.Component<DashboardGridProps, any> {
...
@@ -174,6 +173,3 @@ export class DashboardGrid extends React.Component<DashboardGridProps, any> {
}
}
}
}
coreModule
.
directive
(
'dashboardGrid'
,
function
(
reactDirective
)
{
return
reactDirective
(
DashboardGrid
,
[[
'getPanelContainer'
,
{
watchDepth
:
'reference'
,
wrapApply
:
false
}]]);
});
public/app/features/dashboard/dashgrid/DashboardGridDirective.ts
0 → 100644
View file @
79d9b64f
import
{
react2AngularDirective
}
from
'app/core/utils/react2angular'
;
import
{
DashboardGrid
}
from
'./DashboardGrid'
;
react2AngularDirective
(
'dashboardGrid'
,
DashboardGrid
,
[[
'getPanelContainer'
,
{
watchDepth
:
'reference'
,
wrapApply
:
false
}]]);
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