Skip to content

Commit

Permalink
[desk-tool] Force update of documents pane with key (#448)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristoffer J. Sivertsen authored and bjoerge committed Jan 9, 2018
1 parent 6611d86 commit 9e19510
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/@sanity/desk-tool/src/SchemaPaneResolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ export default class SchemaPaneResolver extends React.Component {
isCollapsed={!!collapsedPanes.find(pane => pane === 'documentsPane')}
>
<DocumentsPane
key={selectedType}
isCollapsed={!!collapsedPanes.find(pane => pane === 'documentsPane')}
selectedType={selectedType}
title={dataAspects.getDisplayName(selectedType) || 'Untitled'}
Expand Down

0 comments on commit 9e19510

Please sign in to comment.