You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by mi...@apache.org on 2024/09/20 03:09:18 UTC

(incubator-devlake) 01/01: fix: dispaly < 1m when duration less than 1m

This is an automated email from the ASF dual-hosted git repository.

mintsweet pushed a commit to branch fix-pipeline-duration
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git

commit 7d992d378bf94b409e4b53b6ce5ade7d92005dac
Author: mintsweet <0x...@gmail.com>
AuthorDate: Fri Sep 20 15:09:03 2024 +1200

    fix: dispaly < 1m when duration less than 1m
---
 config-ui/src/routes/pipeline/components/duration.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config-ui/src/routes/pipeline/components/duration.tsx b/config-ui/src/routes/pipeline/components/duration.tsx
index 67ea9e290..3620fa4bd 100644
--- a/config-ui/src/routes/pipeline/components/duration.tsx
+++ b/config-ui/src/routes/pipeline/components/duration.tsx
@@ -22,7 +22,7 @@ import { IPipelineStatus } from '@/types';
 
 const duration = (minute: number) => {
   if (minute < 1) {
-    return '1m';
+    return '< 1m';
   }
 
   if (minute < 60) {