IMPORTANT
This commit is contained in:
parent
609f0ec9d0
commit
fdba8ab26f
1 changed files with 2 additions and 2 deletions
|
@ -768,7 +768,7 @@ function updateDemandes() {
|
|||
$('#treasure-list').append(`
|
||||
<span id="${ad_uid}" class="treasure ${ad[ad_uid].treasureState == "Accepted" ? "treasure-accepted" : ""}">
|
||||
<h2 class="treasure-title">${ad[ad_uid].title}</h2>
|
||||
<div class="treasure-desc">Indice: ${ad[ad_uid].desc}</div>
|
||||
<div class="treasure-desc">Validité: ${ad[ad_uid].desc}</div>
|
||||
<div class="treasure-status">Statue: ${ad[ad_uid].treasureState}</div>
|
||||
${ (ad[ad_uid].treasureState != "Accepted" && ad[ad_uid].treasureState != "Refused" ) ?
|
||||
`<span class="treasure-btn">
|
||||
|
@ -852,7 +852,7 @@ function updateNextActivity() {
|
|||
}
|
||||
|
||||
next_acti = candidate.reduce(function(prev, curr) {
|
||||
return new Date(prev.start) < new Date(curr.Cost) ? prev : curr;
|
||||
return new Date(prev.start) < new Date(curr.start) ? prev : curr;
|
||||
});
|
||||
|
||||
var opt = {speed: 100};
|
||||
|
|
Loading…
Reference in a new issue