diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Settings/Applications/AppRunsHistory/AppRunsHistory.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/Settings/Applications/AppRunsHistory/AppRunsHistory.component.tsx index 7a9b049d3a26..fe54986735a5 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/Settings/Applications/AppRunsHistory/AppRunsHistory.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/Settings/Applications/AppRunsHistory/AppRunsHistory.component.tsx @@ -192,11 +192,9 @@ const AppRunsHistory = forwardRef( dataIndex: 'executionTime', key: 'executionTime', render: (_, record: AppRunRecordWithId) => { - if (record.startTime && record.endTime) { - const ms = getIntervalInMilliseconds( - record.startTime, - record.endTime - ); + if (record.startTime) { + const endTime = record.endTime || Date.now(); // Use current time in epoch milliseconds if endTime is not present + const ms = getIntervalInMilliseconds(record.startTime, endTime); return formatDuration(ms); } else {