Skip to content

Commit

Permalink
Fix details button not showing on different pages
Browse files Browse the repository at this point in the history
  • Loading branch information
bergice committed Nov 2, 2020
1 parent b8ca98d commit 6fb2ad9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/dist/js/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion client/src/containers/Editor/Editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ class Editor extends Component {
// If we have a nextType available, wire the Detail button
const { formid } = fieldProps;
// When inserting a regular file, we add a Details button to edit the file metadata
const onDetails = nextType && file && file.type !== 'folder' ?
const onDetails = nextType && file.type !== 'folder' ?
() => {
actions.modal.stashFormValues(formid, schemaUrl);
actions.modal.pushFormStackEntry(nextType);
Expand Down

0 comments on commit 6fb2ad9

Please sign in to comment.