changed copied message and added forced render for width change

pull/10986/head
Patrick O'Carroll 7 years ago
parent 0120023aba
commit 23f644c2f5
  1. 1
      public/app/features/dashboard/dashgrid/DashboardGrid.tsx
  2. 2
      public/app/features/panel/panel_ctrl.ts

@ -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) {

Loading…
Cancel
Save