Skip to content

Commit 6545832

Browse files
committed
Bump version and some length fixes
1 parent c78dade commit 6545832

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: app/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"name": "insomnia",
4-
"version": "5.1.1",
4+
"version": "5.2.0",
55
"productName": "Insomnia",
66
"longName": "Insomnia REST Client",
77
"description": "Debug APIs like a human, not a robot",

Diff for: app/ui/components/dropdowns/environments-dropdown.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class EnvironmentsDropdown extends PureComponent {
5454
<Dropdown {...other} className={classnames(className, 'wide')}>
5555
<DropdownButton className="btn btn--super-compact no-wrap">
5656
<div className="sidebar__menu__thing">
57-
{(!activeEnvironment && subEnvironments.length) && (
57+
{(!activeEnvironment && subEnvironments.length > 0) && (
5858
<Tooltip message="No environments active. Please select one to use."
5959
className="space-right"
6060
position="right">

Diff for: app/ui/components/modals/request-switcher-modal.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ class RequestSwitcherModal extends PureComponent {
284284
})}
285285
</ul>
286286

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

0 commit comments

Comments
 (0)