mirror of
https://github.com/flarum/core.git
synced 2025-08-03 23:17:43 +02:00
Use flarum/utils/Stream instead of m.stream
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
import Modal from 'flarum/components/Modal';
|
import Modal from 'flarum/components/Modal';
|
||||||
import Button from 'flarum/components/Button';
|
import Button from 'flarum/components/Button';
|
||||||
|
|
||||||
|
import Stream from 'flarum/utils/Stream';
|
||||||
import withAttr from 'flarum/utils/withAttr';
|
import withAttr from 'flarum/utils/withAttr';
|
||||||
|
|
||||||
export default class FlagPostModal extends Modal {
|
export default class FlagPostModal extends Modal {
|
||||||
@@ -9,8 +10,8 @@ export default class FlagPostModal extends Modal {
|
|||||||
|
|
||||||
this.success = false;
|
this.success = false;
|
||||||
|
|
||||||
this.reason = m.stream('');
|
this.reason = Stream('');
|
||||||
this.reasonDetail = m.stream('');
|
this.reasonDetail = Stream('');
|
||||||
}
|
}
|
||||||
|
|
||||||
className() {
|
className() {
|
||||||
|
Reference in New Issue
Block a user