@kizmann/nano-ui 0.8.25 → 0.8.26

Sign up to get free protection for your applications and to get access to all the features.
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) => {