Commit b4666456 by Tobias Skarhed Committed by GitHub

Pass dashboard via angular directive (#22696)

parent e2a9dcdc
...@@ -159,6 +159,7 @@ export function registerAngularDirectives() { ...@@ -159,6 +159,7 @@ export function registerAngularDirectives() {
react2AngularDirective('saveDashboardButton', SaveDashboardButtonConnected, [ react2AngularDirective('saveDashboardButton', SaveDashboardButtonConnected, [
['getDashboard', { watchDepth: 'reference', wrapApply: true }], ['getDashboard', { watchDepth: 'reference', wrapApply: true }],
['onSaveSuccess', { watchDepth: 'reference', wrapApply: true }], ['onSaveSuccess', { watchDepth: 'reference', wrapApply: true }],
['dashboard', { watchDepth: 'reference', wrapApply: true }],
]); ]);
react2AngularDirective('saveDashboardAsButton', SaveDashboardAsButtonConnected, [ react2AngularDirective('saveDashboardAsButton', SaveDashboardAsButtonConnected, [
'variant', 'variant',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment