mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 01:18:23 +00:00
Minor UI improvements for deploy modal (#352)
This commit is contained in:
parent
3980448fb2
commit
73c36efa57
1 changed files with 13 additions and 6 deletions
|
|
@ -78,13 +78,20 @@ class SaveAndPreview extends React.Component {
|
|||
|
||||
return (
|
||||
<div>
|
||||
{!showModal && (
|
||||
<button className="btn btn-primary btn-sm" onClick={() => this.setState({ showModal: true })}>
|
||||
Deploy
|
||||
</button>
|
||||
)}
|
||||
<button className="btn btn-primary btn-sm" onClick={() => this.setState({ showModal: true })}>
|
||||
Deploy
|
||||
</button>
|
||||
|
||||
<Modal show={this.state.showModal} size="md" backdrop="static" centered={true} keyboard={true}>
|
||||
<Modal
|
||||
show={this.state.showModal}
|
||||
size="md"
|
||||
backdrop="static"
|
||||
centered={true}
|
||||
keyboard={true}
|
||||
enforceFocus={false}
|
||||
animation={false}
|
||||
onEscapeKeyDown={() => this.hideModal()}
|
||||
>
|
||||
<Modal.Header>
|
||||
<Modal.Title>Versions and deployments</Modal.Title>
|
||||
<div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue