feat: group luzern jobs in daily digest
This commit is contained in:
@@ -133,9 +133,10 @@ const area = (r: Row) => {
|
|||||||
if (text.includes("basel")) return "🟢 Basel";
|
if (text.includes("basel")) return "🟢 Basel";
|
||||||
if (text.includes("zürich") || text.includes("zurich")) return "🔵 Zürich";
|
if (text.includes("zürich") || text.includes("zurich")) return "🔵 Zürich";
|
||||||
if (text.includes("bern")) return "🟣 Bern";
|
if (text.includes("bern")) return "🟣 Bern";
|
||||||
|
if (text.includes("luzern") || text.includes("lucerne")) return "🟠 Luzern";
|
||||||
return "⚪️ Other";
|
return "⚪️ Other";
|
||||||
};
|
};
|
||||||
const order = ["🟢 Basel", "🌍 Remote", "🔵 Zürich", "🟣 Bern", "⚪️ Other"];
|
const order = ["🟢 Basel", "🌍 Remote", "🔵 Zürich", "🟣 Bern", "🟠 Luzern", "⚪️ Other"];
|
||||||
const groups = new Map<string, Row[]>();
|
const groups = new Map<string, Row[]>();
|
||||||
for (const r of matched) {
|
for (const r of matched) {
|
||||||
const k = area(r);
|
const k = area(r);
|
||||||
|
|||||||
Reference in New Issue
Block a user