Fixed app authentication when generating

This commit is contained in:
frikky
2020-05-13 08:33:31 +02:00
parent d27650d76b
commit 59c311d78d
8 changed files with 45 additions and 17 deletions
+1 -1
View File
@@ -474,7 +474,7 @@ const Workflows = (props) => {
var t = new Date(data.started_at*1000)
var showResult = data.result.trim()
if (showResult.startsWith("{") && showResult.endsWith("}")) {
if ((showResult.startsWith("{") && showResult.endsWith("}")) || (showResult.startsWith("[{") && showResult.endsWith("}]"))) {
//showResult = <JSONPretty
// id="json-pretty"
// theme={JSONPrettyMon}