Skip to content
This repository was archived by the owner on Jun 10, 2021. It is now read-only.

Commit a5ef339

Browse files
committed
Fix environment select clearing
1 parent eed1600 commit a5ef339

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

web/components/Aside.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ const Aside = class extends Component {
259259
</Permission>
260260
</Collapsible>
261261
)}
262+
projectId={this.props.projectId}
262263
environmentId={this.props.environmentId}
263264
clearableValue={false}
264265
onChange={(environment) => {

web/components/EnvironmentSelect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const EnvironmentSelect = class extends Component {
1212
const { hasFeature } = this.props;
1313

1414
return (
15-
<ProjectProvider id={this.props.id}>
15+
<ProjectProvider id={this.props.projectId}>
1616
{({ isLoading, project }) => (
1717
<div className={`fade ${isLoading ? '' : 'in'}`}>
1818

0 commit comments

Comments
 (0)