Set Singleton Title in Desk Structure Not Working #3929
Unanswered
davidbwaters
asked this question in
Sanity Studio Support
Replies: 1 comment 1 reply
-
Would this work? I think you can switch to export default (S) =>
S.list()
.title('Base')
.items([
S.listItem()
.id('hero')
.title('Hero')
.child(
S.editor()
.schemaType('hero')
.title('Hero')
.documentId('hero')
.id('hero')
),
...S.documentTypeListItems().filter((listItem) =>
['hero', 'hero'].includes(listItem.getId())
),
]); Also unrelated, but I think the logic inside |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The following desk structure doesn't set the title property in singleton item. The title just shows as field previews, when I want it to be 'Hero'.
Beta Was this translation helpful? Give feedback.
All reactions