From f2c4deb57512098e1bb1876a9cbc3992de263c92 Mon Sep 17 00:00:00 2001 From: Padmaja <52911293+padms@users.noreply.github.com> Date: Tue, 30 Jul 2024 17:51:17 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Missing=20lang=20in=20schema=20#?= =?UTF-8?q?1868?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sanityv3/schemas/documents/404.ts | 1 + sanityv3/schemas/documents/500.ts | 2 ++ sanityv3/schemas/documents/simpleMenu.tsx | 2 ++ 3 files changed, 5 insertions(+) diff --git a/sanityv3/schemas/documents/404.ts b/sanityv3/schemas/documents/404.ts index 2b5d66e80..0128b9785 100644 --- a/sanityv3/schemas/documents/404.ts +++ b/sanityv3/schemas/documents/404.ts @@ -36,6 +36,7 @@ export default { }, ], fields: [ + lang, { title: 'Meta information', name: 'seo', diff --git a/sanityv3/schemas/documents/500.ts b/sanityv3/schemas/documents/500.ts index 8292c8e16..8d952b841 100644 --- a/sanityv3/schemas/documents/500.ts +++ b/sanityv3/schemas/documents/500.ts @@ -5,6 +5,7 @@ import { EdsIcon } from '../../icons' import CompactBlockEditor from '../components/CompactBlockEditor' import { configureTitleBlockContent } from '../editors' import { configureBlockContent } from '../editors/blockContentType' +import { lang } from './langField' const titleContentType = configureTitleBlockContent() const textContentType = configureBlockContent({ @@ -35,6 +36,7 @@ export default { }, ], fields: [ + lang, { title: 'Meta information', name: 'seo', diff --git a/sanityv3/schemas/documents/simpleMenu.tsx b/sanityv3/schemas/documents/simpleMenu.tsx index 16f4c2908..5c44c17c3 100644 --- a/sanityv3/schemas/documents/simpleMenu.tsx +++ b/sanityv3/schemas/documents/simpleMenu.tsx @@ -1,4 +1,5 @@ import { MenuIcon } from '../../icons' +import { lang } from './langField' export default { type: 'document', @@ -6,6 +7,7 @@ export default { name: 'simpleMenu', __experimental_actions: ['create', 'update', 'publish' /*,"delete"*/], fields: [ + lang, { title: 'Menu groups', name: 'group',