Commit 7d0ca63b by Daniel Lee

navmodel: fix for signout link on pref page

without a target property on the link, the signout tab on
the preferences page returned a 404.
parent f18eeaa9
......@@ -19,7 +19,7 @@ function TabItem(tab: NavModelItem) {
return (
<li className="gf-tabs-item" key={tab.url}>
<a className={tabClasses} href={tab.url}>
<a className={tabClasses} target={tab.target} href={tab.url}>
<i className={tab.icon} />
{tab.text}
</a>
......
......@@ -12,6 +12,7 @@ export interface NavModelItem {
hideFromTabs?: boolean;
divider?: boolean;
children: NavModelItem[];
target?: string;
}
export class NavModel {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment