Comparing version 0.6.1 to 0.6.2
@@ -0,1 +1,5 @@ | ||
# 0.6.2 | ||
* Fix `visible` using older function form on list components | ||
# 0.6.1 | ||
@@ -2,0 +6,0 @@ |
@@ -121,7 +121,3 @@ "use strict"; | ||
var base = Definitions.base(model, overrides); | ||
return __assign({}, base, { modes: [], | ||
/** The default visibility selector. It displays everything. */ | ||
visible: function (state, props) { | ||
return _.values(props); | ||
} }, overrides); | ||
return __assign({}, base, { modes: [] }, overrides); | ||
}; | ||
@@ -128,0 +124,0 @@ return Definitions; |
{ | ||
"name": "cruddle", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "bugs": "https://github.com/creativecuriositystudio/cruddle/issues", |
@@ -152,7 +152,2 @@ import * as _ from 'lodash'; | ||
/** The default visibility selector. It displays everything. */ | ||
visible(state: ListState, props: ModelProperties<T>): Property<any>[] { | ||
return _.values(props); | ||
}, | ||
... overrides | ||
@@ -159,0 +154,0 @@ } as ListDefinition<T>; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
229688
2372