Adoptions from ivis-core
This commit is contained in:
parent
18eb54037c
commit
d14942da93
6 changed files with 41 additions and 15 deletions
5
client/src/lib/bootstrap-components.js
vendored
5
client/src/lib/bootstrap-components.js
vendored
|
@ -146,7 +146,8 @@ export class ButtonDropdown extends Component {
|
|||
export class ActionLink extends Component {
|
||||
static propTypes = {
|
||||
onClickAsync: PropTypes.func,
|
||||
className: PropTypes.string
|
||||
className: PropTypes.string,
|
||||
href: PropTypes.string
|
||||
}
|
||||
|
||||
@withAsyncErrorHandler
|
||||
|
@ -163,7 +164,7 @@ export class ActionLink extends Component {
|
|||
const props = this.props;
|
||||
|
||||
return (
|
||||
<a href="" className={props.className} onClick={::this.onClick}>{props.children}</a>
|
||||
<a href={props.href || ''} className={props.className} onClick={::this.onClick}>{props.children}</a>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue