Remove missed static string
This commit is contained in:
@@ -166,7 +166,7 @@ function getSourceName(source?: ISource | null) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getValueOrUnknown(val?: string | null) {
|
function getValueOrUnknown(val?: string | null) {
|
||||||
return val || 'UNKNOWN';
|
return val ?? translate('global.label.unknown');
|
||||||
}
|
}
|
||||||
|
|
||||||
export const MangaDetails: React.FC<IProps> = ({ manga }) => {
|
export const MangaDetails: React.FC<IProps> = ({ manga }) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user