mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
refactor(): minor cleanup in sidemenu component
This commit is contained in:
parent
370589d6c0
commit
9f75bda8be
@ -21,10 +21,6 @@
|
|||||||
<i class="{{::menuItem.icon}}" ng-show="::menuItem.icon"></i>
|
<i class="{{::menuItem.icon}}" ng-show="::menuItem.icon"></i>
|
||||||
{{::menuItem.text}}
|
{{::menuItem.text}}
|
||||||
</a>
|
</a>
|
||||||
<a ng-click="menuItem.click()" ng-show="::menuItem.click">
|
|
||||||
<i class="{{::menuItem.icon}}"></i>
|
|
||||||
{{::menuItem.text}}
|
|
||||||
</a>
|
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
@ -82,12 +82,6 @@ export class SideMenuCtrl {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
switchOrg(orgId) {
|
|
||||||
this.backendSrv.post('/api/user/using/' + orgId).then(() => {
|
|
||||||
window.location.href = `${config.appSubUrl}/`;
|
|
||||||
});
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function sideMenuDirective() {
|
export function sideMenuDirective() {
|
||||||
|
Loading…
Reference in New Issue
Block a user