diff options
Diffstat (limited to 'static/modules')
| -rw-r--r-- | static/modules/windows.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/static/modules/windows.js b/static/modules/windows.js index d0a5a6c..d3e882e 100644 --- a/static/modules/windows.js +++ b/static/modules/windows.js @@ -130,6 +130,8 @@ export default { icon.className = "laticon"; icon.src = `/icons/${item.icon}.svg`; icon.alt = ""; + // An app whose icon the theme lacks shows its name instead. + icon.onerror = () => { b.textContent = item.label || item.key; }; b.append(icon); } else { b.textContent = item.label || item.key; |
