Closed legastero closed 9 years ago
The original conditional included the predicate:
(propName && !sortable && includes([this.comparator, this.collection.comparator]), propName)
However, that last propName is not part of the includes() call like it was intended to be.
propName
includes()
Thanks to the magic of commas, that makes the entire predicate true, and so we run a sort on any change event.
true
+1
+1 good catch
Woo!
Published as v2.0.1
v2.0.1
The original conditional included the predicate:
However, that last
propName
is not part of theincludes()
call like it was intended to be.Thanks to the magic of commas, that makes the entire predicate
true
, and so we run a sort on any change event.