diff --git a/rdmo/management/assets/js/components/sidebar/ImportSidebar.js b/rdmo/management/assets/js/components/sidebar/ImportSidebar.js index d5a0244bc2..a24fd81cce 100644 --- a/rdmo/management/assets/js/components/sidebar/ImportSidebar.js +++ b/rdmo/management/assets/js/components/sidebar/ImportSidebar.js @@ -5,6 +5,8 @@ import isNil from 'lodash/isNil' import Link from 'rdmo/core/assets/js/components/Link' + + const ImportSidebar = ({ config, imports, importActions }) => { const { elements, success } = imports const count = elements.filter(e => e.import).length @@ -51,20 +53,22 @@ const ImportSidebar = ({ config, imports, importActions }) => { {gettext('Select all')} - {updatedAndChangedElements.length > 0 && - - } + }
  • importActions.selectElements(false)}> {gettext('Unselect all')} @@ -80,18 +84,20 @@ const ImportSidebar = ({ config, imports, importActions }) => {
  • {updatedAndChangedElements.length > 0 && - +
  • + +
  • }
  • importActions.showElements(false)}>