From 23d693217e0515baa2f3f65811504f140fd40ae5 Mon Sep 17 00:00:00 2001 From: Julian Waller Date: Sat, 15 Jul 2023 13:43:13 +0100 Subject: [PATCH] fix: upgrade scripts --- package.json | 2 +- src/upgrades.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a69d028..a6b85cb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bmd-smartview", - "version": "2.0.3", + "version": "2.0.4", "main": "src/index.js", "type": "module", "scripts": { diff --git a/src/upgrades.js b/src/upgrades.js index a6d0da9..debccb1 100644 --- a/src/upgrades.js +++ b/src/upgrades.js @@ -1,7 +1,7 @@ export function upgrade_v1_1_0(context, props) { let updateActions = [] let upgradePass = (action) => { - switch (action.action) { + switch (action.actionId) { case 'border': if (action.options !== undefined && action.options.col !== undefined) { action.options.val = action.options.col