mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-27 23:06:29 -04:00
Convert App to TypeScript
This commit is contained in:
committed by
Mark McDowall
parent
d46f4b2154
commit
d6d90a64a3
@@ -198,8 +198,6 @@ function Updates() {
|
||||
{hasUpdates && (
|
||||
<div>
|
||||
{items.map((update) => {
|
||||
const hasChanges = !!update.changes;
|
||||
|
||||
return (
|
||||
<div key={update.version} className={styles.update}>
|
||||
<div className={styles.info}>
|
||||
@@ -249,7 +247,7 @@ function Updates() {
|
||||
) : null}
|
||||
</div>
|
||||
|
||||
{hasChanges ? (
|
||||
{update.changes ? (
|
||||
<div>
|
||||
<UpdateChanges
|
||||
title={translate('New')}
|
||||
|
||||
Reference in New Issue
Block a user