tpmkms_4wp 8.9.0-beta.4 → 8.9.0-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/common/wp.js CHANGED
@@ -42,10 +42,9 @@ let config = {
42
42
  parents: ['verb'],
43
43
  bridge: "{ ...next(operator), element: after[0], state: after[1], operator: operator, generate: ['operator', 'element', 'state'] }",
44
44
  semantic: ({api, context}) => {
45
- debugger
46
45
  const unit = context.element.marker
47
46
  const scope = context.element.quantity.quantity
48
- const color = context.state.value
47
+ const color = context.state.value.split('_')[0]
49
48
  api.changeColor({ unit, scope, color })
50
49
  }
51
50
  },