Skip to content

Commit

Permalink
chore: fix typos in ImportSidebar.js
Browse files Browse the repository at this point in the history
Signed-off-by: David Wallace <david.wallace@tu-darmstadt.de>
  • Loading branch information
MyPyDavid committed Jan 29, 2024
1 parent 0b84f91 commit 6d25cfe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rdmo/management/assets/js/components/sidebar/ImportSidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const ImportSidebar = ({ config, imports, importActions }) => {
{gettext('Select all')}
</Link>
</li>
{ updatedAndChangedElements.length > -1 &&
{updatedAndChangedElements.length > 0 &&
<ul className="list-unstyled">
<li>
<Link onClick={() => importActions.selectChangedElements(true)}>
Expand Down Expand Up @@ -79,16 +79,16 @@ const ImportSidebar = ({ config, imports, importActions }) => {
{gettext('Show all')}
</Link>
</li>
{ updatedAndChangedElements.length > -1 &&
{updatedAndChangedElements.length > 0 &&
<ul className="list-unstyled">
<li>
<Link onClick={() => importActions.showChangedElements(true)}>
{gettext('Show changed')}
{gettext('Show changes')}
</Link>
</li>
<li>
<Link onClick={() => importActions.showChangedElements(false)}>
{gettext('Hide changed')}
{gettext('Hide changes')}
</Link>
</li>
</ul>
Expand Down

0 comments on commit 6d25cfe

Please sign in to comment.