Fix notification error.

This commit is contained in:
oshawott 2022-03-17 16:05:52 +11:00
parent c02f088045
commit ba7f8f258d

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);
}