mirror of
https://github.com/grafana/grafana.git
synced 2025-01-16 03:32:37 -06:00
parent
ab7bbd5a44
commit
6590e6fae8
@ -96,7 +96,9 @@ export class PanelCtrl {
|
||||
let menu = [];
|
||||
menu.push({text: 'View', click: 'ctrl.viewPanel(); dismiss();'});
|
||||
menu.push({text: 'Edit', click: 'ctrl.editPanel(); dismiss();', role: 'Editor'});
|
||||
menu.push({text: 'Duplicate', click: 'ctrl.duplicate()', role: 'Editor' });
|
||||
if (!this.fullscreen) { // duplication is not supported in fullscreen mode
|
||||
menu.push({ text: 'Duplicate', click: 'ctrl.duplicate()', role: 'Editor' });
|
||||
}
|
||||
menu.push({text: 'Share', click: 'ctrl.sharePanel(); dismiss();'});
|
||||
return menu;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user