aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/panels/ServicesPane.js
diff options
context:
space:
mode:
authorJJ2024-07-19 23:34:06 +0000
committerJJ2024-07-19 23:34:06 +0000
commit804420ea8757ef31272da4a4e3dc625fb2ebc711 (patch)
tree4668b83bafc5bf2c12cecfec23fcc11000c93a01 /frontend/src/components/panels/ServicesPane.js
parent17df589175ff1c4675b02a61439e93f657acae1e (diff)
ok, fuck it. no updatesHEADmain
Diffstat (limited to 'frontend/src/components/panels/ServicesPane.js')
-rw-r--r--frontend/src/components/panels/ServicesPane.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/components/panels/ServicesPane.js b/frontend/src/components/panels/ServicesPane.js
index 338ebad..958b18c 100644
--- a/frontend/src/components/panels/ServicesPane.js
+++ b/frontend/src/components/panels/ServicesPane.js
@@ -219,9 +219,9 @@ class ServicesPane extends Component {
{<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"}
+ {!isUpdate && <ButtonField variant={isUpdate ? "blue" : "green"}
name={isUpdate ? "update_service" : "add_service"}
- bordered onClick={this.updateService}/>
+ bordered onClick={this.updateService}/>}
</div>
</div>
</div>