Add the feedback button to left Nav bar
parent
03a64d189e
commit
46c5b775dc
|
@ -61,6 +61,8 @@ class SideNav extends PureComponent<Props, State> {
|
|||
const dataExplorerLink = `${orgPrefix}/data-explorer`
|
||||
const tasksLink = `${orgPrefix}/tasks`
|
||||
const settingsLink = `${orgPrefix}/settings`
|
||||
const feedbackLink =
|
||||
'https://docs.google.com/forms/d/e/1FAIpQLSdGJpnIZGotN1VFJPkgZEhrt4t4f6QY1lMgMSRUnMeN3FjCKA/viewform?usp=sf_link'
|
||||
|
||||
return (
|
||||
<NavMenu>
|
||||
|
@ -138,6 +140,19 @@ class SideNav extends PureComponent<Props, State> {
|
|||
)}
|
||||
active={getNavItemActivation(['settings'], location.pathname)}
|
||||
/>
|
||||
<NavMenu.Item
|
||||
titleLink={className => (
|
||||
<a className={className} href={feedbackLink} target="_blank">
|
||||
Feedback
|
||||
</a>
|
||||
)}
|
||||
iconLink={className => (
|
||||
<a href={feedbackLink} className={className} target="_blank">
|
||||
<Icon glyph={IconFont.Chat} />
|
||||
</a>
|
||||
)}
|
||||
active={getNavItemActivation(['feedback'], location.pathname)}
|
||||
/>
|
||||
<CloudNav />
|
||||
</NavMenu>
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue