Closed MichalVasut closed 1 year ago
function getFirstInitial(person) { return `${person._data.FirstName.substring(0, 1)}`; // <-------- here }
jQuery.Deferred exception: Cannot read properties of undefined (reading 'substring') TypeError: Cannot read properties of undefined (reading 'substring')
usecase: https://apps.wikitree.com/apps/wikitree-dynamic-tree/#name=Windsor-21&view=webs
https://github.com/wikitree/wikitree-dynamic-tree/pull/95 closes this issue
usecase: https://apps.wikitree.com/apps/wikitree-dynamic-tree/#name=Windsor-21&view=webs