mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
changed copied message and added forced render for width change
This commit is contained in:
@@ -140,6 +140,7 @@ export class DashboardGrid extends React.Component<DashboardGridProps, any> {
|
||||
for (const panel of this.dashboard.panels) {
|
||||
panel.resizeDone();
|
||||
}
|
||||
this.triggerForceUpdate();
|
||||
}
|
||||
|
||||
updateGridPos(item, layout) {
|
||||
|
||||
@@ -262,7 +262,7 @@ export class PanelCtrl {
|
||||
|
||||
copyPanel() {
|
||||
store.set(LS_PANEL_COPY_KEY, JSON.stringify(this.panel.getSaveModel()));
|
||||
appEvents.emit('alert-success', ['Panel copied. Open new panel to paste']);
|
||||
appEvents.emit('alert-success', ['Panel copied. Open Add Panel to paste']);
|
||||
}
|
||||
|
||||
replacePanel(newPanel, oldPanel) {
|
||||
|
||||
Reference in New Issue
Block a user