v0.38.2
This commit is contained in:
1 parent
758cfd6274
commit
8bdec5c757
32 files changed
+418
-44
No files matched your search
@@ -181,7 +181,8 @@
|
||||
if (!visibleColumns.has(column.id)) continue;
|
||||
const value = column.value(e), cell = el("td", String(value)); cell.title = String(value);
|
||||
if (column.id === "status") cell.className = e.status < 400 ? "status-good" : "status-error";
|
||||
if (column.id === "cache" && e.cache === "HIT") cell.className = "status-good";
|
||||
if (column.id === "cache" && ["HIT", "REVALIDATED"].includes(e.cache)) cell.className = "status-good";
|
||||
if (column.id === "cache" && e.cache === "STALE") cell.className = "status-stale";
|
||||
row.append(cell);
|
||||
}
|
||||
return row;
|
||||
|
||||
Reference in new issue
Block a user