export function displayInitialFrom(primaryName = '', fallbackName = '', emptyValue = 'U') {
  const primary = String(primaryName || '').trim()
  if (primary) return Array.from(primary)[0] || emptyValue

  const fallback = String(fallbackName || '').trim()
  if (fallback) return Array.from(fallback)[0] || emptyValue

  return emptyValue
}
