Skip to content

Commit

Permalink
[example-studio] Add image to author
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge committed Mar 2, 2017
1 parent 3a13b09 commit 42a5253
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/example-studio/schemas/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -355,14 +355,19 @@ export default createSchema({
type: 'object',
title: 'Author',
preview: {
select: {title: 'name'}
select: {title: 'name', imageUrl: 'image.asset.url'}
},
fields: [
{
name: 'name',
title: 'Name',
type: 'string'
},
{
name: 'image',
title: 'Image',
type: 'image'
},
{
name: 'awards',
title: 'Awards',
Expand Down

0 comments on commit 42a5253

Please sign in to comment.