diff --git a/frontend/src/components/tables/EPGsTable.jsx b/frontend/src/components/tables/EPGsTable.jsx index 848c1666..c429e3c4 100644 --- a/frontend/src/components/tables/EPGsTable.jsx +++ b/frontend/src/components/tables/EPGsTable.jsx @@ -94,9 +94,9 @@ const EPGsTable = () => { } return ( - + {label}: {parseInt(progress.progress)}% - + {progress.speed && Speed: {parseInt(progress.speed)} KB/s} ); @@ -179,7 +179,7 @@ const EPGsTable = () => { if (data.status === 'error' && data.last_message) { return ( - + {data.last_message} @@ -189,7 +189,7 @@ const EPGsTable = () => { // Show success message for successful sources if (data.status === 'success') { return ( - + EPG data refreshed successfully ); diff --git a/frontend/src/components/tables/M3UsTable.jsx b/frontend/src/components/tables/M3UsTable.jsx index 44c79477..050ef211 100644 --- a/frontend/src/components/tables/M3UsTable.jsx +++ b/frontend/src/components/tables/M3UsTable.jsx @@ -108,7 +108,7 @@ const M3UTable = () => { return ( - + Downloading: {parseInt(data.progress)}% @@ -142,7 +142,7 @@ const M3UTable = () => { return ( - + Processing groups: {parseInt(data.progress)}% @@ -167,11 +167,11 @@ const M3UTable = () => { const buildErrorStats = (data) => { return ( - + Error: - {data.error || "Unknown error occurred"} + {data.error || "Unknown error occurred"} ); @@ -197,7 +197,7 @@ const M3UTable = () => { return ( - + Parsing: {parseInt(data.progress)}% @@ -228,7 +228,7 @@ const M3UTable = () => { const buildInitializingStats = () => { return ( - + Initializing refresh... @@ -340,9 +340,9 @@ const M3UTable = () => { const value = cell.getValue(); if (!value) return null; - // Match EPG table styling with Text component + // Match EPG table styling with Text component - always use xs size return ( - + {formatStatusText(value)} ); @@ -387,7 +387,7 @@ const M3UTable = () => { if (data.status === 'error') { return ( - + {value} @@ -398,7 +398,7 @@ const M3UTable = () => { if (data.status === 'success') { return ( - + {value} @@ -408,7 +408,7 @@ const M3UTable = () => { // For all other status values, just use dimmed text return ( - + {value} @@ -421,7 +421,7 @@ const M3UTable = () => { size: 120, Cell: ({ cell }) => { const value = cell.getValue(); - return value ? new Date(value).toLocaleString() : 'Never'; + return value ? {new Date(value).toLocaleString()} : Never; }, }, {