Fix validToday

This commit is contained in:
Peter (extern) 2021-05-06 14:05:43 +02:00
parent 4f9cdf1588
commit 077afcb0d7

View File

@ -78,7 +78,7 @@ export class ItemService {
if(atItemLocationItemCode) params = params.append("ail",atItemLocationItemCode);
if(indexed) params = params.append("ind",indexed?"true":"false");
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 });
}