This commit is contained in:
asyncnomi 2023-01-01 21:45:41 +01:00
parent bd852937a6
commit 9bd674db95

View file

@ -116,7 +116,7 @@ function get_admin(type) {
<span class="prank-btn">
<div class="prank-btn-accept">${(prankData[entry].state == "pending") ? "Accepter" : "Récupérer (accepté par: "+prankData[entry].manageBy+")"}</div>
<div class="prank-btn-refused">Refuser</div>
<div class="prank-btn-done">Done</div>
<div class="prank-btn-done" style="display: ${(prankData[entry].state == "accepted" && (prankData[entry].manageBy) == localStorage.getItem("user") ? "flex" : "none"};">Done</div>
</span>
</span>
`)