@nebularstreams/libmui 2.5.78 → 2.5.80

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nebularstreams/libmui",
3
3
  "description": "Micro UI based on Mithril",
4
- "version": "2.5.78",
4
+ "version": "2.5.80",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
7
7
  "scripts": {
@@ -254,7 +254,7 @@ const
254
254
  : whenner.not
255
255
  ? !targetParameters[whenner.key]
256
256
  : !!targetParameters[whenner]
257
- : false;
257
+ : !!targetParameters[whenner.key];
258
258
 
259
259
  },
260
260
 
@@ -288,7 +288,8 @@ const
288
288
  ? targetSource[metaDef.target || targetSource.forTarget]
289
289
  : targetSource;
290
290
 
291
- if ((whenner && !checkWhen(whenner, parameters, auxParameters, targetSource))) {
291
+ // targetSource estaba antes, targetParameters incluye TARGET !!!!
292
+ if ((whenner && !checkWhen(whenner, parameters, auxParameters, targetParameters))) {
292
293
  return [];
293
294
  }
294
295