mirror of
https://github.com/badlogic/heissepreise.git
synced 2024-06-22 08:25:52 +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 = {};
|
||||
for (oldItem of oldItems) {
|
||||
delete oldItem.unavailable;
|
||||
lookup[oldItem.store + oldItem.id] = oldItem;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user