mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
DashboardSave: use a feature flag for drawer behavior (#46972)
This commit is contained in:
@@ -25,7 +25,7 @@ import { DashNavTimeControls } from '../DashNav/DashNavTimeControls';
|
||||
import { OptionsPane } from './OptionsPane';
|
||||
import { SubMenuItems } from 'app/features/dashboard/components/SubMenu/SubMenuItems';
|
||||
import { SplitPaneWrapper } from 'app/core/components/SplitPaneWrapper/SplitPaneWrapper';
|
||||
import { SaveDashboardDrawer } from '../SaveDashboard/SaveDashboardDrawer';
|
||||
import { SaveDashboardProxy } from '../SaveDashboard/SaveDashboardProxy';
|
||||
import { DashboardPanel } from '../../dashgrid/DashboardPanel';
|
||||
|
||||
import { discardPanelChanges, initPanelEditor, updatePanelEditorUIState } from './state/actions';
|
||||
@@ -145,7 +145,7 @@ export class PanelEditorUnconnected extends PureComponent<Props> {
|
||||
onSaveDashboard = () => {
|
||||
appEvents.publish(
|
||||
new ShowModalReactEvent({
|
||||
component: SaveDashboardDrawer,
|
||||
component: SaveDashboardProxy,
|
||||
props: { dashboard: this.props.dashboard },
|
||||
})
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user