mirror of
https://github.com/flarum/core.git
synced 2025-08-03 15:07:53 +02:00
Fix report modal not submitting
This commit is contained in:
@@ -50,12 +50,13 @@ export default class ReportPostModal extends Modal {
|
||||
</div>
|
||||
|
||||
<div className="Form-group">
|
||||
{Button.component({
|
||||
children: 'Report Post',
|
||||
className: 'Button Button--primary',
|
||||
loading: this.loading,
|
||||
disabled: !this.reason()
|
||||
})}
|
||||
<Button
|
||||
className="Button Button--primary"
|
||||
type="submit"
|
||||
loading={this.loading}
|
||||
disabled={!this.reason()}>
|
||||
Report Post
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user