Fixed notification text replace line feed to space (#6970)
Этот коммит содержится в:
коммит произвёл
George Goldberg
родитель
fe368a7456
Коммит
d064f5eba3
@@ -87,7 +87,7 @@ export function sendDesktopNotification(post, msgProps) {
|
|||||||
image |= attachment.image_url.length > 0;
|
image |= attachment.image_url.length > 0;
|
||||||
});
|
});
|
||||||
|
|
||||||
notifyText.replace(/\n+/g, ' ');
|
notifyText = notifyText.replace(/\n+/g, ' ');
|
||||||
if (notifyText.length > 50) {
|
if (notifyText.length > 50) {
|
||||||
notifyText = notifyText.substring(0, 49) + '...';
|
notifyText = notifyText.substring(0, 49) + '...';
|
||||||
}
|
}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user