From edb3f00e571b14edeaa02203dc2c63cdeb2e95e2 Mon Sep 17 00:00:00 2001 From: Alexander Drozdov Date: Fri, 15 Jan 2021 20:12:33 +0200 Subject: [PATCH] cfg --- src/main/config.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/main/config.ts b/src/main/config.ts index 432fb237..fac0fa4f 100644 --- a/src/main/config.ts +++ b/src/main/config.ts @@ -82,6 +82,17 @@ export const config = (() => { config.widgets.find(w => w.wmType === 'price-check')! .chaosPriceThreshold = 0.05 + const mapCheck = config.widgets.find(w => w.wmType === 'map-check')! + ;(mapCheck as any).selectedStats.forEach((e: any) => { + e.matcher = e.matchRef + e.matchRef = undefined + }) + + const imgStrip = config.widgets.find(w => w.wmType === 'image-strip')! + ;(imgStrip as any).images.forEach((e: any, idx: number) => { + e.id = idx + }) + config.configVersion = 4 }