member_webapp/@overflow/member/container/member-reset-password-container.component.ts
crusader 2802c1ae17 ing
2018-05-28 20:16:00 +09:00

25 lines
702 B
TypeScript

import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
import { FormGroup, FormBuilder, Validators } from '@angular/forms';
import {select, Store} from '@ngrx/store';
import {RPCClientError} from '@loafer/ng-rpc';
import * as MemberEntityStore from '../store/entity/member';
@Component({
selector: 'of-member-reset-password-container',
templateUrl: './member-reset-password-container.component.html',
})
export class MemberResetPasswordContainerComponent implements OnInit {
constructor(
private store: Store<any>,
) { }
ngOnInit() {
}
resetPassword(email: string) {
this.store.dispatch(new MemberEntityStore.ResetPassword(email));
}
}