Skip to content

Commit 2dd7272

Browse files
author
PoeppingT
committed
Fix form error in Tenant Edit and Modal component mismatch in Tenant Delete.
1 parent e7cccee commit 2dd7272

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/web/src/tenant/TenantViewComponent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ function TenantViewComponent(props) {
123123

124124
return (
125125
<>
126-
<Modal size="lg" fade={true} isOpen={showModal}>
126+
<Modal size="lg" fade={true} show={showModal}>
127127
<Modal.Header className="bg-primary">Confirm Delete</Modal.Header>
128128
<Modal.Body>
129129
<p>

client/web/src/tenant/TenantViewContainer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const mapStateToProps = (state, props) => {
5555
? {
5656
...tenant,
5757
// What to do about http vs. https here?
58-
fullCustomDomainName: `http://${tenant.hostname}`,
58+
fullCustomDomainName: tenant.subdomain ? `http://${tenant.subdomain}`: null,
5959
}
6060
: undefined
6161

0 commit comments

Comments
 (0)