Merge branch 'notification-error' into 'dev'

Fix notification error.

See merge request nitro/nitro-react!15
This commit is contained in:
Batman 2022-03-17 05:21:38 +00:00
commit fc0761cfdc

View File

@ -58,7 +58,7 @@ export class NotificationUtilities
{
let imageUrl = options.get('image');
if(!imageUrl) imageUrl = GetConfiguration<string>('image.library.notifications.url', '').replace('%image', type.replace(/\./g, '_'));
if(!imageUrl) imageUrl = GetConfiguration<string>('image.library.notifications.url', '').replace('%image%', type.replace(/\./g, '_'));
return LocalizeText(imageUrl);
}