mirror of
https://github.com/flarum/core.git
synced 2025-07-17 14:51:19 +02:00
Put m.stream in flarum/utils/stream (#2316)
This commit is contained in:
committed by
GitHub
parent
6860b24b70
commit
cc875f3e95
@@ -1,5 +1,6 @@
|
||||
import ComposerBody from './ComposerBody';
|
||||
import extractText from '../../common/utils/extractText';
|
||||
import Stream from '../../common/utils/Stream';
|
||||
|
||||
/**
|
||||
* The `DiscussionComposer` component displays the composer content for starting
|
||||
@@ -26,7 +27,7 @@ export default class DiscussionComposer extends ComposerBody {
|
||||
oninit(vnode) {
|
||||
super.oninit(vnode);
|
||||
|
||||
this.composer.fields.title = this.composer.fields.title || m.stream('');
|
||||
this.composer.fields.title = this.composer.fields.title || Stream('');
|
||||
|
||||
/**
|
||||
* The value of the title input.
|
||||
|
Reference in New Issue
Block a user