mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-12 16:13:58 -07:00
Fixed translations for columns
(cherry picked from commit 6d53d2a153a98070c42d0619c15902b6bd5dfab4) Closes #3897
This commit is contained in:
parent
6c9ee67e51
commit
7406e0e3b7
6 changed files with 17 additions and 10 deletions
|
@ -41,7 +41,7 @@ class Icon extends PureComponent {
|
|||
return (
|
||||
<span
|
||||
className={containerClassName}
|
||||
title={title}
|
||||
title={typeof title === 'function' ? title() : title}
|
||||
>
|
||||
{icon}
|
||||
</span>
|
||||
|
@ -58,7 +58,7 @@ Icon.propTypes = {
|
|||
name: PropTypes.object.isRequired,
|
||||
kind: PropTypes.string.isRequired,
|
||||
size: PropTypes.number.isRequired,
|
||||
title: PropTypes.string,
|
||||
title: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),
|
||||
isSpinning: PropTypes.bool.isRequired,
|
||||
fixedWidth: PropTypes.bool.isRequired
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue