mirror of
https://github.com/badlogic/heissepreise.git
synced 2024-06-27 19:05:53 +02:00
Re-evaluate unavailable flag on every history merge.
This commit is contained in:
parent
1b9505d9cc
commit
52748c1d70
|
@ -73,6 +73,7 @@ function mergePriceHistory(oldItems, items) {
|
||||||
|
|
||||||
const lookup = {};
|
const lookup = {};
|
||||||
for (oldItem of oldItems) {
|
for (oldItem of oldItems) {
|
||||||
|
delete oldItem.unavailable;
|
||||||
lookup[oldItem.store + oldItem.id] = oldItem;
|
lookup[oldItem.store + oldItem.id] = oldItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user