resolution refresh

This commit is contained in:
afornerot 2024-02-20 13:28:20 +01:00
parent 94993f9a10
commit 54f9156149
2 changed files with 4 additions and 8 deletions

View File

@ -94,7 +94,7 @@ class ScrumissueController extends AbstractController
$scrumissue->getScrum()->setUpdatedate($updateissue);
$em->persist($scrumissue->getScrum());
$em->flush();
return new JsonResponse($lastupdate->format("Ymd H:i:s"));
return new JsonResponse($updateissue->format("Ymd H:i:s"));
}
}
return new JsonResponse(false);
@ -204,10 +204,7 @@ class ScrumissueController extends AbstractController
$updateissue=new \DateTime(json_decode(json_encode($giteaissue), true)["updated_at"]);
$updateissue->setTimezone(new \DateTimeZone("UTC"));
if($updateissue>$lastupdate) {
//var_dump($updateissue);
//var_dump($lastupdate);
if($updateissue>$lastupdate) {
$fgissueupdated=true;
}

View File

@ -893,7 +893,7 @@
$(ui.item).data("sprint",newsprint);
if(data) lastupdate=data;
console.log(lastupdate);
refreshinfo();
},
error: function (request, status, error) {
@ -936,13 +936,12 @@
}
}
});
}, 60000);
}, 6000);
});
function issuhover(btn,idissu) {
$("#submenu"+idissu).css("display","flex");
console.log("here");
}
function issuout(menu) {