@kizmann/nano-ui 0.7.20 → 0.7.21

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.7.20",
3
+ "version": "0.7.21",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "author": "Eduard Kizmann <kizmann@protonmail.ch>",
@@ -318,9 +318,11 @@ export default {
318
318
  this.onMousedown(event, this.index = index);
319
319
  };
320
320
 
321
+ let key = Arr.findIndex(this.steps, value);
322
+
321
323
  return (
322
324
  <div class="n-slider__handle" {...handleProps}>
323
- <span>{ Obj.get(this.labels, index, value) }</span>
325
+ <span>{ Obj.get(this.labels, key, value) }</span>
324
326
  </div>
325
327
  );
326
328
  },