Tested with PostgreSQL and moved PeerJobLogger into its own file

This commit is contained in:
Donald Zou
2025-05-13 21:36:15 +08:00
parent c6fc741aa8
commit 390cfa0cdf
4 changed files with 209 additions and 249 deletions

View File

@@ -37,7 +37,10 @@ export default {
getLogs(){
return this.data
.filter(x => {
return (this.showSuccessJob && x.Status === "1") || (this.showFailedJob && x.Status === "0")
return (this.showSuccessJob &&
["1", "true"].includes(x.Status)) || (this.showFailedJob &&
["0", "false"].includes(x.Status))
})
},
showLogs(){