d2-analysis
Advanced tools
Comparing version 26.0.4 to 26.0.5
@@ -110,5 +110,5 @@ 'use strict'; | ||
// name | ||
if ((0, _isString2.default)(c.name)) { | ||
t.name = c.name; | ||
} | ||
t.name = (0, _arrayClean2.default)([c.displayName, c.displayShortName, c.name, c.shortName]).find(function (item) { | ||
return (0, _isString2.default)(item); | ||
}); | ||
@@ -115,0 +115,0 @@ // title |
{ | ||
"name": "d2-analysis", | ||
"version": "26.0.4", | ||
"version": "26.0.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -64,5 +64,3 @@ import isString from 'd2-utilizr/lib/isString'; | ||
// name | ||
if (isString(c.name)) { | ||
t.name = c.name; | ||
} | ||
t.name = arrayClean([c.displayName, c.displayShortName, c.name, c.shortName]).find(item => isString(item)); | ||
@@ -69,0 +67,0 @@ // title |
Sorry, the diff of this file is not supported yet
2496551
33677