This commit is contained in:
Your Name committed 2026-06-28 21:34:58 -04:00
1 parent 3965f4f4da
commit 70877882b0
82 files changed
+4353 -186

No files matched your search

+8
View File
@@ -182,6 +182,14 @@ function validateMenuItems(items: any) {
issues.push(`items[${index}].order must be a number when provided`);
}
if (item.columnImage !== undefined && item.columnImage !== null && typeof item.columnImage !== "string") {
issues.push(`items[${index}].columnImage must be a string or null when provided`);
}
if (item.hoverImage !== undefined && item.hoverImage !== null && typeof item.hoverImage !== "string") {
issues.push(`items[${index}].hoverImage must be a string or null when provided`);
}
if (item.translations !== undefined) {
if (!Array.isArray(item.translations)) {
issues.push(`items[${index}].translations must be an array when provided`);