build: Use prettier for typescript
Stop ignoring .ts files in prettier and fix existing issues.
This commit is contained in:
@@ -8,9 +8,8 @@ describe('EditRoleComponent', () => {
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ EditRoleComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
declarations: [EditRoleComponent]
|
||||
}).compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
|
||||
@@ -12,7 +12,7 @@ import { SystemService } from '../../system.service';
|
||||
@Component({
|
||||
selector: 'mifosx-edit-role',
|
||||
templateUrl: './edit-role.component.html',
|
||||
styleUrls: ['./edit-role.component.scss'],
|
||||
styleUrls: ['./edit-role.component.scss']
|
||||
})
|
||||
export class EditRoleComponent implements OnInit {
|
||||
/** Role Form */
|
||||
@@ -50,8 +50,14 @@ export class EditRoleComponent implements OnInit {
|
||||
*/
|
||||
createRoleForm() {
|
||||
this.roleForm = this.formBuilder.group({
|
||||
name: [{ value: this.roleData.name, disabled: true }, Validators.required],
|
||||
description: [this.roleData.description, Validators.required],
|
||||
name: [
|
||||
{ value: this.roleData.name, disabled: true },
|
||||
Validators.required
|
||||
],
|
||||
description: [
|
||||
this.roleData.description,
|
||||
Validators.required
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user