Skip to content

Commit

Permalink
Bump version and some length fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gschier committed Jun 7, 2017
1 parent c78dade commit 6545832
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "insomnia",
"version": "5.1.1",
"version": "5.2.0",
"productName": "Insomnia",
"longName": "Insomnia REST Client",
"description": "Debug APIs like a human, not a robot",
Expand Down
2 changes: 1 addition & 1 deletion app/ui/components/dropdowns/environments-dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class EnvironmentsDropdown extends PureComponent {
<Dropdown {...other} className={classnames(className, 'wide')}>
<DropdownButton className="btn btn--super-compact no-wrap">
<div className="sidebar__menu__thing">
{(!activeEnvironment && subEnvironments.length) && (
{(!activeEnvironment && subEnvironments.length > 0) && (
<Tooltip message="No environments active. Please select one to use."
className="space-right"
position="right">
Expand Down
2 changes: 1 addition & 1 deletion app/ui/components/modals/request-switcher-modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ class RequestSwitcherModal extends PureComponent {
})}
</ul>

{(!matchedRequests.length && !matchedWorkspaces.length) && (
{(matchedRequests.length === 0 && matchedWorkspaces.length === 0) && (
<div className="text-center">
<p>
No matches found for <strong>{searchString}</strong>
Expand Down

0 comments on commit 6545832

Please sign in to comment.