This commit is contained in:
asyncnomi 2023-01-03 23:47:12 +01:00
parent a098c71b7b
commit 944efbd6fc

View file

@ -220,7 +220,7 @@ function get_admin(type) {
</span>
</span>
`)
} else if (activityData[entry].type = "tr<div class="prank-btn-done" style="display: ${(prankData[entry].state == "Accepted" && prankData[entry].manageBy == localStorage.getItem("user")) ? "flex" : "none"};">Done</div>easure") {
} else if (activityData[entry].type = "treasure") {
$("#admin-content").prepend(`
<span id="${activityData[entry].activityUid}" class="activity">
<div class="activity-title">Trésor: <textarea class="admin-textarea">${activityData[entry].title}</textarea></div>