Lint and update dockerfile for deploying
This commit is contained in:
@ -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>
|
||||
|
||||
@ -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[]> {
|
||||
|
||||
Reference in New Issue
Block a user