uppercase for first letter of Displayed name

pull/1/head
Liana Husikyan 5 years ago committed by Liana Husikyan
parent d6e2dad681
commit 790045306a
  1. 1
      src/app/components/vertical-icons.js

@ -66,6 +66,7 @@ export class VerticalIcons extends Plugin {
*/
addIcon ({kind, name, icon, displayName, tooltip}) {
let title = (tooltip || displayName || name)
title = title.replace(/^\w/, c => c.toUpperCase());
this.icons[name] = yo`
<div
class="${css.icon}"

Loading…
Cancel
Save