update
Some checks failed
Deploy / deploy (build, debian, 22) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822) (push) Has been cancelled

This commit is contained in:
2026-03-30 18:32:24 -06:00
parent 9ff2edeecf
commit 8db17aba12

View File

@@ -226,9 +226,9 @@ const columns: DataTableColumn<SubmissionOut>[] = [
width: 42,
render: (row) => {
const map: Record<string, { label: string; type: "success" | "default" | "warning" }> = {
featured: { label: "", type: "success" },
pending: { label: "", type: "default" },
low: { label: "", type: "warning" },
featured: { label: "", type: "success" },
pending: { label: "N", type: "default" },
low: { label: "", type: "warning" },
}
if (!row.zone || !map[row.zone]) return null
const { label, type } = map[row.zone]