feat: add config migration

This commit is contained in:
Sérgio Salgado 2021-05-06 19:09:36 +01:00 committed by Josh Harvey
parent 4772024e3d
commit ac3dcef35a

View file

@ -42,6 +42,8 @@ const allFields = (getData, onChange, auxElements = []) => {
const tzLabels = getTzLabels(timezonesData) const tzLabels = getTzLabels(timezonesData)
console.log(tzLabels)
const findSuggestion = it => { const findSuggestion = it => {
const machine = R.find(R.propEq('deviceId', it.machine))(machineData) const machine = R.find(R.propEq('deviceId', it.machine))(machineData)
return machine ? [machine] : [] return machine ? [machine] : []