mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-23 06:40:50 +01:00
Merge branch 'notification-error' into 'dev'
Fix notification error. See merge request nitro/nitro-react!15
This commit is contained in:
commit
fc0761cfdc
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user