Fix validToday
This commit is contained in:
parent
4f9cdf1588
commit
077afcb0d7
@ -78,7 +78,7 @@ export class ItemService {
|
|||||||
if(atItemLocationItemCode) params = params.append("ail",atItemLocationItemCode);
|
if(atItemLocationItemCode) params = params.append("ail",atItemLocationItemCode);
|
||||||
if(indexed) params = params.append("ind",indexed?"true":"false");
|
if(indexed) params = params.append("ind",indexed?"true":"false");
|
||||||
if (level) params = params.append("lvl", level.toFixed());
|
if (level) params = params.append("lvl", level.toFixed());
|
||||||
if (validToday) params = params.append("vt", indexed ? "true" : "false");
|
if (validToday) params = params.append("vt", validToday ? "true" : "false");
|
||||||
return this.httpClient.get<IItem[]>(`${this.ApiEndpoint()}/api/v1/items/`, { params: params });
|
return this.httpClient.get<IItem[]>(`${this.ApiEndpoint()}/api/v1/items/`, { params: params });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user