mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
fix(ui): do not require numeric value in FormattedRelativeTime (#1234)
This commit is contained in:
@@ -64,6 +64,7 @@ const DownloadBlock: React.FC<DownloadBlockProps> = ({
|
||||
1000
|
||||
)}
|
||||
updateIntervalInSeconds={1}
|
||||
numeric="auto"
|
||||
/>
|
||||
) : (
|
||||
'N/A'
|
||||
|
@@ -292,6 +292,7 @@ const RequestItem: React.FC<RequestItemProps> = ({
|
||||
1000
|
||||
)}
|
||||
updateIntervalInSeconds={1}
|
||||
numeric="auto"
|
||||
/>
|
||||
),
|
||||
user: (
|
||||
|
@@ -107,7 +107,7 @@ const Release: React.FC<ReleaseProps> = ({
|
||||
(new Date(release.created_at).getTime() - Date.now()) / 1000
|
||||
)}
|
||||
updateIntervalInSeconds={1}
|
||||
numeric="always"
|
||||
numeric="auto"
|
||||
/>
|
||||
</span>
|
||||
<span className="text-lg">{release.name}</span>
|
||||
|
@@ -175,6 +175,7 @@ const SettingsJobs: React.FC = () => {
|
||||
1000
|
||||
)}
|
||||
updateIntervalInSeconds={1}
|
||||
numeric="auto"
|
||||
/>
|
||||
</div>
|
||||
</Table.TD>
|
||||
|
Reference in New Issue
Block a user