Merge pull request #14382 from grafana/davkal/remove-explore-tab
Remove Explore > "New tab" from sidebar
This commit is contained in:
@@ -147,9 +147,6 @@ func (hs *HTTPServer) setIndexViewData(c *m.ReqContext) (*dtos.IndexViewData, er
|
|||||||
SubTitle: "Explore your data",
|
SubTitle: "Explore your data",
|
||||||
Icon: "fa fa-rocket",
|
Icon: "fa fa-rocket",
|
||||||
Url: setting.AppSubUrl + "/explore",
|
Url: setting.AppSubUrl + "/explore",
|
||||||
Children: []*dtos.NavLink{
|
|
||||||
{Text: "New tab", Icon: "gicon gicon-dashboard-new", Url: setting.AppSubUrl + "/explore"},
|
|
||||||
},
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ const TopSectionItem: SFC<Props> = props => {
|
|||||||
{link.img && <img src={link.img} />}
|
{link.img && <img src={link.img} />}
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
{link.children && <SideMenuDropDown link={link} />}
|
<SideMenuDropDown link={link} />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -13,5 +13,8 @@ exports[`Render should render component 1`] = `
|
|||||||
<i />
|
<i />
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
|
<SideMenuDropDown
|
||||||
|
link={Object {}}
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
|
|||||||
Reference in New Issue
Block a user