uppercase for first letter of Displayed name

pull/5370/head
Liana Husikyan 5 years ago committed by Liana Husikyan
parent 711518550b
commit 99b29922ad
  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