mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-23 14:40:50 +01:00
Merge branch 'dev' of https://git.krews.org/nitro/nitro-react into dev
This commit is contained in:
commit
d3ebc259dc
@ -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