mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-10-03 07:46:18 +00:00
Tested with PostgreSQL and moved PeerJobLogger into its own file
This commit is contained in:
@@ -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(){
|
||||
|
Reference in New Issue
Block a user