mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-27 08:00:51 +01:00
Merge branch 'endrit-dev' into dev
This commit is contained in:
commit
d8d765a69b
@ -2,7 +2,7 @@ import { GetNitroInstance } from '..';
|
||||
|
||||
export const LocalizeBadgeDescription = (key: string) =>
|
||||
{
|
||||
let badgeDesc = GetNitroInstance().localization.getBadgeName(key);
|
||||
let badgeDesc = GetNitroInstance().localization.getBadgeDesc(key);
|
||||
|
||||
if(!badgeDesc || !badgeDesc.length) badgeDesc = `badge_desc_${ key }`;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user