mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-23 14:40:50 +01:00
Fix notification error.
This commit is contained in:
parent
c02f088045
commit
ba7f8f258d
@ -58,7 +58,7 @@ export class NotificationUtilities
|
|||||||
{
|
{
|
||||||
let imageUrl = options.get('image');
|
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);
|
return LocalizeText(imageUrl);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user