feat(web): refresh palette, simplify ranking toolbar and drop export

This commit is contained in:
kairee committed 2026-11-01 00:37:20 +08:00
1 parent 6a053bdfe8
commit c2ef998720
16 files changed
+141 -206

No files matched your search

+2
View File
@@ -90,11 +90,13 @@ window.addEventListener("error", (event) => {
async function boot() {
renderNav();
const banner = document.querySelector("#preview-banner");
const hint = document.querySelector("#topbar-hint");
try {
const payload = await health();
const data = payload?.data || payload;
if (data?.preview) {
banner.hidden = false;
if (hint) hint.hidden = false;
}
} catch {
toast("无法连接看板服务", "error");