add: more things

Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
This commit is contained in:
2026-07-06 15:21:36 +08:00
parent 41e98bb602
commit 244aa607f7
71 changed files with 2998 additions and 1014 deletions
+7 -2
View File
@@ -78,7 +78,7 @@ function resolveTierBadge(myTier) {
colorKey: category.color ?? "green",
label: category.badge_label ?? category.name ?? tier,
description: "",
information: "",
information: category.description ?? "",
};
}
}
@@ -134,7 +134,12 @@ const LandscapeCertCard = ({ courseTitle, issuedAt, courseUuid, badgeColor, badg
a.click();
URL.revokeObjectURL(url);
} catch {
toast.error("Could not download certificate.");
toast("Could not download certificate.", {
action: {
label: "Close",
onClick: () => {}
}
});
} finally {
setDownloading(false);
}