Commit 79004530 authored by Liana Husikyan's avatar Liana Husikyan Committed by Liana Husikyan

uppercase for first letter of Displayed name

parent d6e2dad6
......@@ -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}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment