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
80130d1c
Unverified
Commit
80130d1c
authored
Jan 08, 2021
by
Torkel Ödegaard
Committed by
GitHub
Jan 08, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AngularPanels: Fixes issue with discrete panel that used the initialized event (#30133)
parent
e4607a4a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
packages/grafana-data/src/types/legacyEvents.ts
+1
-0
public/app/features/panel/panel_ctrl.ts
+1
-0
No files found.
packages/grafana-data/src/types/legacyEvents.ts
View file @
80130d1c
...
@@ -22,6 +22,7 @@ export const PanelEvents = {
...
@@ -22,6 +22,7 @@ export const PanelEvents = {
dataSnapshotLoad
:
eventFactory
<
DataQueryResponseData
[]
>
(
'data-snapshot-load'
),
dataSnapshotLoad
:
eventFactory
<
DataQueryResponseData
[]
>
(
'data-snapshot-load'
),
editModeInitialized
:
eventFactory
(
'init-edit-mode'
),
editModeInitialized
:
eventFactory
(
'init-edit-mode'
),
initPanelActions
:
eventFactory
<
AngularPanelMenuItem
[]
>
(
'init-panel-actions'
),
initPanelActions
:
eventFactory
<
AngularPanelMenuItem
[]
>
(
'init-panel-actions'
),
initialized
:
eventFactory
(
'panel-initialized'
),
panelTeardown
:
eventFactory
(
'panel-teardown'
),
panelTeardown
:
eventFactory
(
'panel-teardown'
),
render
:
eventFactory
<
any
>
(
'render'
),
render
:
eventFactory
<
any
>
(
'render'
),
};
};
...
...
public/app/features/panel/panel_ctrl.ts
View file @
80130d1c
...
@@ -51,6 +51,7 @@ export class PanelCtrl {
...
@@ -51,6 +51,7 @@ export class PanelCtrl {
panelDidMount
()
{
panelDidMount
()
{
this
.
events
.
emit
(
PanelEvents
.
componentDidMount
);
this
.
events
.
emit
(
PanelEvents
.
componentDidMount
);
this
.
events
.
emit
(
PanelEvents
.
initialized
);
this
.
dashboard
.
panelInitialized
(
this
.
panel
);
this
.
dashboard
.
panelInitialized
(
this
.
panel
);
}
}
...
...
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