Skip to content

Commit

Permalink
fix(desk-tool): default to show icons
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuslundgard committed Oct 7, 2021
1 parent 6a3831b commit 647ce5f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const DocumentListPane = memo(function DocumentListPane(props: DocumentLi
const {defaultOrdering, filter} = options
const params = useShallowUnique(options.params || EMPTY_RECORD)
const typeName = useMemo(() => getTypeNameFromSingleTypeFilter(filter, params), [filter, params])
const {showIcons = false} = displayOptions
const showIcons = displayOptions.showIcons !== false
const [layout, setLayout] = useDeskToolSetting<Layout>(typeName, 'layout', defaultLayout)
const [sortOrderRaw, setSortOrder] = useDeskToolSetting<SortOrder>(
typeName,
Expand Down

3 comments on commit 647ce5f

@vercel
Copy link

@vercel vercel bot commented on 647ce5f Oct 7, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

studio-workshop – ./dev/workshop

studio-workshop-git-next.sanity.build
studio-workshop.sanity.build

@vercel
Copy link

@vercel vercel bot commented on 647ce5f Oct 7, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

test-studio – ./

test-studio-git-next.sanity.build
test-studio.sanity.build

@vercel
Copy link

@vercel vercel bot commented on 647ce5f Oct 7, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

perf-studio – ./

perf-studio-git-next.sanity.build
perf-studio.sanity.build

Please sign in to comment.