build: Use prettier for typescript
Stop ignoring .ts files in prettier and fix existing issues.
This commit is contained in:
+2
-3
@@ -8,9 +8,8 @@ describe('ViewStandingInstructionsComponent', () => {
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ ViewStandingInstructionsComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
declarations: [ViewStandingInstructionsComponent]
|
||||
}).compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
|
||||
+1
-3
@@ -8,7 +8,6 @@ import { ActivatedRoute } from '@angular/router';
|
||||
styleUrls: ['./view-standing-instructions.component.scss']
|
||||
})
|
||||
export class ViewStandingInstructionsComponent {
|
||||
|
||||
/** Standing Instructions Data */
|
||||
standingInstructionsData: any;
|
||||
/** Allow Client Edit */
|
||||
@@ -19,12 +18,11 @@ export class ViewStandingInstructionsComponent {
|
||||
* @param {ActivatedRoute} route Activated Route.
|
||||
*/
|
||||
constructor(private route: ActivatedRoute) {
|
||||
this.route.data.subscribe((data: { standingInstructionsData: any}) => {
|
||||
this.route.data.subscribe((data: { standingInstructionsData: any }) => {
|
||||
this.standingInstructionsData = data.standingInstructionsData;
|
||||
if (this.standingInstructionsData.fromClient.id === this.standingInstructionsData.toClient.id) {
|
||||
this.allowclientedit = false;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user