Added new components to replace old for Workflow Discovery

This commit is contained in:
frikky
2022-07-28 14:40:25 +02:00
parent e445b759cb
commit 3e1d5b015d
5 changed files with 631 additions and 8 deletions
+3 -3
View File
@@ -12043,7 +12043,7 @@ const AngularWorkflow = (defaultprops) => {
: 0;
const timestamp = new Date(data.started_at * 1000)
.toISOString()
.toLocaleString("en-GB")
.split(".")[0]
.split("T")
.join(" ");
@@ -12360,7 +12360,7 @@ const AngularWorkflow = (defaultprops) => {
<b>Started &nbsp;&nbsp;</b>
</Typography>
<Typography variant="body1" color="textSecondary">
{new Date(executionData.started_at * 1000).toISOString()}
{new Date(executionData.started_at * 1000).toLocaleString("en-GB")}
</Typography>
</div>
) : null}
@@ -12374,7 +12374,7 @@ const AngularWorkflow = (defaultprops) => {
<b>Finished &nbsp;</b>
</Typography>
<Typography variant="body1" color="textSecondary">
{new Date(executionData.completed_at * 1000).toISOString()}
{new Date(executionData.completed_at * 1000).toLocaleString("en-GB")}
</Typography>
</div>
) : null}
+1 -1
View File
@@ -297,7 +297,7 @@ const LoginDialog = (props) => {
{loginInfo === undefined ||
loginInfo === null ||
loginInfo.length === 0 ? null : (
<div style={{ marginTop: "10px" }}>Response: {loginInfo}</div>
<div style={{ marginTop: "10px" }}>Database Response: {loginInfo}</div>
)}
<CircularProgress color="secondary" style={{ color: "white" }} />