@kizmann/nano-ui 0.8.25 → 0.8.26

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@kizmann/nano-ui",
3
- "version": "0.8.25",
3
+ "version": "0.8.26",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "author": "Eduard Kizmann <kizmann@protonmail.ch>",
@@ -798,7 +798,11 @@ export default {
798
798
  canSelect = () => this.allowSelect;
799
799
  }
800
800
 
801
- return canSelect({ item }) && ! item.depth;
801
+ let row = {
802
+ value: item, item: Obj.get(this, item.route)
803
+ };
804
+
805
+ return ! item.depth && canSelect(row);
802
806
  });
803
807
 
804
808
  let indexies = Arr.each(result, (item) => {