Fix and cleanup account edit dialog.

This commit is contained in:
Alexis Lahouze 2017-09-22 00:08:43 +02:00
parent 877315d6e1
commit 2287ca8ad3

View File

@ -1,5 +1,5 @@
// vim: set tw=80 ts=2 sw=2 sts=2:
import { Component, Inject, Input, ViewChild } from '@angular/core';
import { Component, Inject, ViewChild } from '@angular/core';
import { MdDialogRef, MD_DIALOG_DATA } from '@angular/material';
import { Account } from './account';
@ -8,7 +8,7 @@ import { AccountFormComponent } from './accountForm.component';
@Component({
selector: 'account-edit-modal',
template: `
<h3 md-dialog-tiitle>{{ title() }}</h3>
<h3 md-dialog-title>{{ title() }}</h3>
<md-dialog-content>
<account-form [account]="account" (submit)="submit()" #accountForm="accountForm">