add iching tarot links
This commit is contained in:
@@ -190,6 +190,17 @@
|
||||
label: `Open ${d.name || monthId} in Calendar`
|
||||
};
|
||||
}
|
||||
if (t === "ichingHexagram") {
|
||||
const hexagramNumber = Number(d.hexagramNumber || relation?.id);
|
||||
if (!Number.isFinite(hexagramNumber)) {
|
||||
return null;
|
||||
}
|
||||
return {
|
||||
event: "nav:iching",
|
||||
detail: { hexagramNumber },
|
||||
label: `Open Hexagram ${hexagramNumber} in I Ching`
|
||||
};
|
||||
}
|
||||
if (t === "cubeFace") {
|
||||
const wallId = d.wallId || relation?.id;
|
||||
if (!wallId) {
|
||||
|
||||
Reference in New Issue
Block a user