mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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.
This commit is contained in:
parent
f18eeaa920
commit
7d0ca63b72
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user