Skip to content

Commit

Permalink
🐛 Missing lang in schema #1868
Browse files Browse the repository at this point in the history
  • Loading branch information
padms committed Jul 30, 2024
1 parent ff61963 commit f2c4deb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions sanityv3/schemas/documents/404.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export default {
},
],
fields: [
lang,
{
title: 'Meta information',
name: 'seo',
Expand Down
2 changes: 2 additions & 0 deletions sanityv3/schemas/documents/500.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down Expand Up @@ -35,6 +36,7 @@ export default {
},
],
fields: [
lang,
{
title: 'Meta information',
name: 'seo',
Expand Down
2 changes: 2 additions & 0 deletions sanityv3/schemas/documents/simpleMenu.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import { MenuIcon } from '../../icons'
import { lang } from './langField'

export default {
type: 'document',
title: 'Site menu(simple)',
name: 'simpleMenu',
__experimental_actions: ['create', 'update', 'publish' /*,"delete"*/],
fields: [
lang,
{
title: 'Menu groups',
name: 'group',
Expand Down

0 comments on commit f2c4deb

Please sign in to comment.