mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
User picker using common select componnet
This commit is contained in:
@@ -111,11 +111,11 @@ function panelHeader($compile) {
|
||||
*/
|
||||
function togglePanelStackPosition() {
|
||||
const menuOpenClass = 'dropdown-menu-open';
|
||||
const panelGridClass = '.react-grid-item.panel';
|
||||
const panelGridClass = '.react-grid-item';
|
||||
|
||||
let panelElem = elem
|
||||
.find('[data-toggle=dropdown]')
|
||||
.parentsUntil('.panel')
|
||||
.parentsUntil(panelGridClass)
|
||||
.parent();
|
||||
const menuElem = elem.find('[data-toggle=dropdown]').parent();
|
||||
panelElem = panelElem && panelElem.length ? panelElem[0] : undefined;
|
||||
|
||||
Reference in New Issue
Block a user