mirror of
https://github.com/flarum/core.git
synced 2025-07-20 08:11:27 +02:00
Put m.stream in flarum/utils/stream (#2316)
This commit is contained in:
committed by
GitHub
parent
6860b24b70
commit
cc875f3e95
@@ -1,6 +1,7 @@
|
||||
import Modal from '../../common/components/Modal';
|
||||
import Button from '../../common/components/Button';
|
||||
import extractText from '../../common/utils/extractText';
|
||||
import Stream from '../../common/utils/Stream';
|
||||
|
||||
/**
|
||||
* The `ForgotPasswordModal` component displays a modal which allows the user to
|
||||
@@ -19,7 +20,7 @@ export default class ForgotPasswordModal extends Modal {
|
||||
*
|
||||
* @type {Function}
|
||||
*/
|
||||
this.email = m.stream(this.attrs.email || '');
|
||||
this.email = Stream(this.attrs.email || '');
|
||||
|
||||
/**
|
||||
* Whether or not the password reset email was sent successfully.
|
||||
|
Reference in New Issue
Block a user