diff options
author | Emiliano Ciavatta | 2021-05-05 17:35:09 +0000 |
---|---|---|
committer | Emiliano Ciavatta | 2021-05-05 17:35:09 +0000 |
commit | 59d88f14ba153827a849a24b10c25980a85c9d96 (patch) | |
tree | 8fb0eeb96df248f01f01ecddb5dd18870c179d0a /frontend/src/components | |
parent | d6defddd70a548f0375e25e2ad8ad3080c71039d (diff) |
Change color and position of the delete service button
Diffstat (limited to 'frontend/src/components')
-rw-r--r-- | frontend/src/components/panels/ServicesPane.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/components/panels/ServicesPane.js b/frontend/src/components/panels/ServicesPane.js index 9f89485..338ebad 100644 --- a/frontend/src/components/panels/ServicesPane.js +++ b/frontend/src/components/panels/ServicesPane.js @@ -217,11 +217,11 @@ class ServicesPane extends Component { <div className="section-footer"> {<ButtonField variant="red" name="cancel" bordered onClick={this.reset}/>} + {isUpdate && <ButtonField variant="red" name= "delete_service" + bordered onClick={this.deleteService}/>} <ButtonField variant={isUpdate ? "blue" : "green"} name={isUpdate ? "update_service" : "add_service"} bordered onClick={this.updateService}/> - {isUpdate ? <ButtonField variant="blue" name= "delete_service" - bordered onClick={this.deleteService}/> : ""} </div> </div> </div> |