Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
Hide grafana dashboard in k8s webportal (#3688)
Browse files Browse the repository at this point in the history
Hide grafana dashboard in k8s webportal.
  • Loading branch information
abuccts authored Oct 9, 2019
1 parent cb6ca62 commit 1316880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webportal/src/app/layout/layout.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ window.userLogout = userLogoutComponent.userLogout;
$('#navbar').html(userLoginNavHtml);
userAuthComponent.checkToken();
if (userAuthComponent.checkAdmin()) {
$('#sidebar-menu--dashboard').show();
if (config.launcherType !== 'k8s') {
$('#sidebar-menu--dashboard').show();
$('#sidebar-menu--vc').show();
}
$('#sidebar-menu--cluster-view').show();
Expand Down

0 comments on commit 1316880

Please sign in to comment.