Skip to content
This repository was archived by the owner on Mar 9, 2025. It is now read-only.

Commit 05466d4

Browse files
committed
Tenant search parameter
1 parent 3d70465 commit 05466d4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

web/dashboard/src/views/repo/repo.jsx

+3
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,7 @@ export default class Repo extends Component {
406406
const { owner, repo } = this.props.match.params;
407407
this.props.history.push({
408408
pathname: `/repo/${owner}/${repo}/${env}/${deployment}`,
409+
search: this.props.location.search
409410
})
410411
}
411412

@@ -456,9 +457,11 @@ export default class Repo extends Component {
456457

457458
setSelectedTenant(tenant) {
458459
this.setState({ selectedTenant: tenant });
460+
const queryParam = tenant === "" ? tenant : `?tenant=${tenant}`
459461

460462
this.props.history.push({
461463
pathname: this.props.location.pathname,
464+
search: queryParam
462465
})
463466
}
464467

0 commit comments

Comments
 (0)