From e2d1bb425e19432183c28ec432a412dd206e5aa7 Mon Sep 17 00:00:00 2001 From: Wahyu Ramadhan Date: Wed, 7 Jun 2023 14:54:12 +0700 Subject: [PATCH] Fix lag --- app/Http/Controllers/ActivityController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/ActivityController.php b/app/Http/Controllers/ActivityController.php index b23c12b..8635b25 100644 --- a/app/Http/Controllers/ActivityController.php +++ b/app/Http/Controllers/ActivityController.php @@ -502,7 +502,7 @@ class ActivityController extends Controller 'type_link' => 0, 'code_link' => 'FS', 'version_gantt_id' => $data['ganttId'], - 'lag' => $diff > 1 ? $diff : null, + 'lag' => null, ]); } }