Compare commits
2 Commits
38b3ffc587
...
ad29f6033f
| Author | SHA1 | Date | |
|---|---|---|---|
| ad29f6033f | |||
| 9d4960f28f |
@@ -48,7 +48,14 @@ export type GraphControls = {
|
||||
};
|
||||
|
||||
const ALL = "__all__";
|
||||
const YEARS = Array.from({ length: 2026 - 1994 + 1 }, (_, i) => 2026 - i);
|
||||
// Floor covers the oldest dated precedent in the corpus (currently ע"א 725/81 →
|
||||
// 1982); ceiling tracks the current year so the range never ages out.
|
||||
const YEAR_FLOOR = 1980;
|
||||
const CURRENT_YEAR = new Date().getFullYear();
|
||||
const YEARS = Array.from(
|
||||
{ length: CURRENT_YEAR - YEAR_FLOOR + 1 },
|
||||
(_, i) => CURRENT_YEAR - i,
|
||||
);
|
||||
|
||||
const COLOR_BY: { value: ColorBy; label: string }[] = [
|
||||
{ value: "type", label: "סוג נקודה" },
|
||||
|
||||
Reference in New Issue
Block a user