Skip to content
Snippets Groups Projects
Unverified Commit cadd7101 authored by Maz Ameli's avatar Maz Ameli Committed by GitHub
Browse files

fix Radio component with new syntax (#17103)

parent 7ec6f154
No related branches found
No related tags found
No related merge requests found
......@@ -17,9 +17,9 @@ export default class AuditContent extends React.Component {
{tabs && (
<div className="border-bottom px4 mt1">
<Radio
underlined
variant="underlined"
value={this.props.router.location.pathname}
options={tabs.filter(tab => tab.component)} // hide tabs that aren't implemented
options={tabs.filter(tab => tab.component)} // hide tabs that are not implemented
optionValueFn={tab => `${pagePath}/${tab.path}`}
optionNameFn={tab => tab.title}
optionKeyFn={tab => tab.path}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment