react-visjs-timeline
Advanced tools
Comparing version 1.3.3 to 1.3.4-beta
@@ -120,4 +120,5 @@ 'use strict'; | ||
var customTimesChange = customTimes !== nextProps.customTimes; | ||
var selectionChange = selection !== nextProps.selection; | ||
return itemsChange || groupsChange || optionsChange || customTimesChange; | ||
return itemsChange || groupsChange || optionsChange || customTimesChange || selectionChange; | ||
} | ||
@@ -134,2 +135,4 @@ }, { | ||
selection = _props2.selection, | ||
_props2$selectionOpti = _props2.selectionOptions, | ||
selectionOptions = _props2$selectionOpti === undefined ? {} : _props2$selectionOpti, | ||
customTimes = _props2.customTimes, | ||
@@ -156,3 +159,3 @@ _props2$animate = _props2.animate, | ||
this.$el.setItems(items); | ||
this.$el.setSelection(selection); | ||
this.$el.setSelection(selection, selectionOptions); | ||
@@ -159,0 +162,0 @@ if (hasGroups) { |
{ | ||
"name": "react-visjs-timeline", | ||
"version": "1.3.3", | ||
"version": "1.3.4-beta", | ||
"description": "React component for the vis.js timeline module", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
170
138
13602
5
2