mirror of
https://github.com/flarum/core.git
synced 2025-10-11 15:04:25 +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 Modal from '../../common/components/Modal';
|
||||
import Button from '../../common/components/Button';
|
||||
import Stream from '../../common/utils/Stream';
|
||||
|
||||
/**
|
||||
* The `ChangeEmailModal` component shows a modal dialog which allows the user
|
||||
@@ -21,14 +22,14 @@ export default class ChangeEmailModal extends Modal {
|
||||
*
|
||||
* @type {function}
|
||||
*/
|
||||
this.email = m.stream(app.session.user.email());
|
||||
this.email = Stream(app.session.user.email());
|
||||
|
||||
/**
|
||||
* The value of the password input.
|
||||
*
|
||||
* @type {function}
|
||||
*/
|
||||
this.password = m.stream('');
|
||||
this.password = Stream('');
|
||||
}
|
||||
|
||||
className() {
|
||||
|
Reference in New Issue
Block a user