Notification: further handle "missed_out" + other tweaks #6052

Merged
infinite-persistence merged 2 commits from ip/missed-out into master 2021-05-12 19:51:55 +02:00
Showing only changes of commit 6d6bab13c0 - Show all commits

View file

@ -145,11 +145,16 @@ export default function Notification(props: Props) {
<div className="notification__title"> <div className="notification__title">
<LbcMessage>{notification_parameters.device.title}</LbcMessage> <LbcMessage>{notification_parameters.device.title}</LbcMessage>
</div> </div>
<div className="notification__text mobile-hidden">{commentText}</div> <div title={commentText} className="notification__text mobile-hidden">
{commentText}
</div>
</> </>
) : ( ) : (
<> <>
<div className="notification__text"> <div
title={notification_parameters.device.text.replace(/\sLBC/g, ' Credits')}
className="notification__text"
>
<LbcMessage>{notification_parameters.device.text}</LbcMessage> <LbcMessage>{notification_parameters.device.text}</LbcMessage>
</div> </div>
</> </>