Cloud sync trigger progress

This commit is contained in:
frikky
2020-11-05 04:15:01 +01:00
parent e06ac4cae1
commit d367c76838
4 changed files with 295 additions and 73 deletions
+1
View File
@@ -39,6 +39,7 @@ var globalUrl = window.location.origin
// CORS used for testing purposes. Should only happen with specific port and http
if (window.location.protocol == "http:" && window.location.port === "3000") {
globalUrl = "http://localhost:5001"
//globalUrl = "http://localhost:5002"
}
const theme = createMuiTheme({
+3 -3
View File
@@ -157,7 +157,7 @@ const Admin = (props) => {
alert.error("Failed stopping schedule")
} else {
getAppAuthentication()
alert.success("Successfully stopped schedule!")
alert.success("Successfully deleted authentication!")
}
}),
)
@@ -1184,7 +1184,7 @@ const Admin = (props) => {
color="primary"
onClick={() => deleteSchedule(schedule)}
>
Delete
Stop schedule
</Button>
</ListItemText>
</ListItem>
@@ -1443,7 +1443,7 @@ const Admin = (props) => {
<ListItemText
style={{minWidth: 150, maxWidth: 150, overflow: "hidden"}}
>
<Button variant="outlined" style={{borderRadius: "0px"}} onClick={() => deleteEnvironment(environment.Name)} color="primary">Delete</Button>
<Button disabled={environment.archived} variant="outlined" style={{borderRadius: "0px"}} onClick={() => deleteEnvironment(environment.Name)} color="primary">Archive</Button>
</ListItemText>
<ListItemText
style={{minWidth: 150, maxWidth: 150, overflow: "hidden"}}