HOTTERFIX

This commit is contained in:
Bingus_Violet 2024-01-01 23:25:35 -06:00
parent 58cd2ac643
commit 7429c2aadc

View file

@ -144,8 +144,10 @@ function pageUpdate() {
} }
} else if (activity.type == 0) { } else if (activity.type == 0) {
if (get_img()) { if (get_img()) {
var time = activity.timestamps.start || activity.created_at var time = activity.created_at
console.log(activity) if (activity.timestamps) {
time = activity.timestamps.start
}
addedHTML += ` addedHTML += `
<div class="chip activity col-md-6 testing"> <div class="chip activity col-md-6 testing">
<img src="${get_img()}" title="${activity.assets.large_text || activity.assets.small_text}"> <img src="${get_img()}" title="${activity.assets.large_text || activity.assets.small_text}">