fix
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 22:30:41 -06:00
parent 1df211c760
commit a97a40475a
6 changed files with 53 additions and 15 deletions

View File

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