Fixed position debug

This commit is contained in:
frikky
2020-05-15 12:52:48 +02:00
parent 9c4527d30a
commit e98ac680dd
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -186,6 +186,7 @@ const AngularWorkflow = (props) => {
}) })
.then((responseJson) => { .then((responseJson) => {
if (responseJson.length > 0) { if (responseJson.length > 0) {
// FIXME: Sort this by time
setWorkflowExecutions(responseJson) setWorkflowExecutions(responseJson)
} }
//setWorkflowExecutions(responseJson) //setWorkflowExecutions(responseJson)
@@ -203,7 +204,7 @@ const AngularWorkflow = (props) => {
return ( return (
<div> <div>
{new Date(data.started_at*1000).toISOString()} {new Date(data.started_at*1000).toISOString()}
, status: {data.status} , {data.status}
{data.execution_argument.length > 0 ? ", "+data.execution_argument : ", "} {data.execution_argument.length > 0 ? ", "+data.execution_argument : ", "}
{data.result.length > 0 ? ", "+data.result : ", "} {data.result.length > 0 ? ", "+data.result : ", "}
</div> </div>
+2 -2
View File
@@ -38,12 +38,12 @@ import AlertTemplate from "react-alert-template-basic";
import { positions, Provider } from "react-alert"; import { positions, Provider } from "react-alert";
// Testing - localhost // Testing - localhost
const globalUrl = "http://192.168.3.6:5001" //const globalUrl = "http://192.168.3.6:5001"
//console.log("HOST: ", process.env) //console.log("HOST: ", process.env)
// Production - backend proxy forwarding in nginx // Production - backend proxy forwarding in nginx
//const globalUrl = window.location.origin const globalUrl = window.location.origin
const surfaceColor = "#27292D" const surfaceColor = "#27292D"
const inputColor = "#383B40" const inputColor = "#383B40"