Chore: Moved from css to sass, god knows what to do now.
Chore: Prettier line length changed to 120 from 100 Fix: Hard coded the face as the primary color to make the buttons stand out
This commit is contained in:
@ -23,9 +23,7 @@ export class SettleOptionService {
|
||||
const getUrl: string = id === null ? url : `${url}/${id}`;
|
||||
return this.http
|
||||
.get<SettleOption>(getUrl)
|
||||
.pipe(
|
||||
catchError(this.log.handleError(serviceName, `get id=${id}`)),
|
||||
) as Observable<SettleOption>;
|
||||
.pipe(catchError(this.log.handleError(serviceName, `get id=${id}`))) as Observable<SettleOption>;
|
||||
}
|
||||
|
||||
list(): Observable<SettleOption[]> {
|
||||
@ -37,9 +35,9 @@ export class SettleOptionService {
|
||||
listForType(voucherType: VoucherType): Observable<SettleOption[]> {
|
||||
return this.http
|
||||
.get<SettleOption[]>(`${url}/for-type/${voucherType}`)
|
||||
.pipe(
|
||||
catchError(this.log.handleError(serviceName, `listForType voucherType=${voucherType}`)),
|
||||
) as Observable<SettleOption[]>;
|
||||
.pipe(catchError(this.log.handleError(serviceName, `listForType voucherType=${voucherType}`))) as Observable<
|
||||
SettleOption[]
|
||||
>;
|
||||
}
|
||||
|
||||
save(settleOption: SettleOption): Observable<SettleOption> {
|
||||
|
||||
Reference in New Issue
Block a user