Lint and update dockerfile for deploying

This commit is contained in:
2021-01-11 11:35:59 +05:30
parent 748fb37511
commit f2e330df61
17 changed files with 104 additions and 112 deletions

View File

@ -14,12 +14,7 @@
>
<mat-form-field fxFlex>
<mat-label>Name</mat-label>
<input
matInput
#nameElement
placeholder="Name"
formControlName="name"
/>
<input matInput #nameElement placeholder="Name" formControlName="name" />
</mat-form-field>
</div>
<div
@ -31,11 +26,7 @@
>
<mat-form-field fxFlex>
<mat-label>Prefix</mat-label>
<input
matInput
placeholder="Prefix"
formControlName="prefix"
/>
<input matInput placeholder="Prefix" formControlName="prefix" />
</mat-form-field>
</div>
</form>

View File

@ -22,7 +22,9 @@ export class CaseSourceService {
const getUrl: string = id === null ? url : `${url}/${id}`;
return this.http
.get<CaseSource>(getUrl)
.pipe(catchError(this.log.handleError(serviceName, `get id=${id}`))) as Observable<CaseSource>;
.pipe(
catchError(this.log.handleError(serviceName, `get id=${id}`)),
) as Observable<CaseSource>;
}
list(): Observable<CaseSource[]> {