mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-18 04:07:03 +02:00
Merge pull request #5441 from matrix-org/t3chguy/fix/15796
Fix Widget event notification text including spurious space
This commit is contained in:
commit
f70f957c49
@ -455,7 +455,7 @@ function textForWidgetEvent(event) {
|
||||
let widgetName = name || prevName || type || prevType || '';
|
||||
// Apply sentence case to widget name
|
||||
if (widgetName && widgetName.length > 0) {
|
||||
widgetName = widgetName[0].toUpperCase() + widgetName.slice(1) + ' ';
|
||||
widgetName = widgetName[0].toUpperCase() + widgetName.slice(1);
|
||||
}
|
||||
|
||||
// If the widget was removed, its content should be {}, but this is sufficiently
|
||||
|
Loading…
Reference in New Issue
Block a user