From e98ac680dde8babc476436686ae28b28a85526ef Mon Sep 17 00:00:00 2001 From: frikky Date: Fri, 15 May 2020 12:52:48 +0200 Subject: [PATCH] Fixed position debug --- frontend/src/AngularWorkflow.js | 3 ++- frontend/src/App.js | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/src/AngularWorkflow.js b/frontend/src/AngularWorkflow.js index 46a4870b..1c53d140 100644 --- a/frontend/src/AngularWorkflow.js +++ b/frontend/src/AngularWorkflow.js @@ -186,6 +186,7 @@ const AngularWorkflow = (props) => { }) .then((responseJson) => { if (responseJson.length > 0) { + // FIXME: Sort this by time setWorkflowExecutions(responseJson) } //setWorkflowExecutions(responseJson) @@ -203,7 +204,7 @@ const AngularWorkflow = (props) => { return (
{new Date(data.started_at*1000).toISOString()} - , status: {data.status} + , {data.status} {data.execution_argument.length > 0 ? ", "+data.execution_argument : ", "} {data.result.length > 0 ? ", "+data.result : ", "}
diff --git a/frontend/src/App.js b/frontend/src/App.js index 720ae0d8..3f1d759d 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -38,12 +38,12 @@ import AlertTemplate from "react-alert-template-basic"; import { positions, Provider } from "react-alert"; // Testing - localhost -const globalUrl = "http://192.168.3.6:5001" +//const globalUrl = "http://192.168.3.6:5001" //console.log("HOST: ", process.env) // Production - backend proxy forwarding in nginx -//const globalUrl = window.location.origin +const globalUrl = window.location.origin const surfaceColor = "#27292D" const inputColor = "#383B40"