@sanity/data-aspects
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -96,3 +96,4 @@ 'use strict'; | ||
var typeOption = this.config.typeOptions[typeName] || {}; | ||
return typeOption.displayName || (0, _lodash.startCase)(typeName); | ||
var type = this.getType(typeName); | ||
return typeOption.displayName || type.title || (0, _lodash.startCase)(typeName); | ||
} | ||
@@ -99,0 +100,0 @@ |
{ | ||
"name": "@sanity/data-aspects", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Sanity plugin which controls how your data is presented", | ||
@@ -31,3 +31,3 @@ "main": "lib/DataAspectsResolver.js", | ||
"eslint": "^3.7.1", | ||
"eslint-config-sanity": "^1.1.3", | ||
"eslint-config-sanity": "^2.0.1", | ||
"eslint-plugin-react": "^6.4.1", | ||
@@ -34,0 +34,0 @@ "rimraf": "^2.5.2" |
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
142
91952
7