mirror of
https://github.com/flarum/core.git
synced 2025-08-08 09:26:34 +02:00
update: admin/components/AdminLinkButton
This commit is contained in:
committed by
Franz Liedke
parent
cec00c0dd6
commit
46741f63fe
@@ -10,10 +10,10 @@
|
||||
import LinkButton from '../../common/components/LinkButton';
|
||||
|
||||
export default class AdminLinkButton extends LinkButton {
|
||||
getButtonContent() {
|
||||
const content = super.getButtonContent();
|
||||
getButtonContent(children) {
|
||||
const content = super.getButtonContent(children);
|
||||
|
||||
content.push(<div className="AdminLinkButton-description">{this.props.description}</div>);
|
||||
content.push(<div className="AdminLinkButton-description">{this.attrs.description}</div>);
|
||||
|
||||
return content;
|
||||
}
|
||||
|
Reference in New Issue
Block a user