Simplify showLogs expression
This commit is contained in:
@@ -74,7 +74,7 @@ export class RunPresenter {
|
||||
},
|
||||
});
|
||||
|
||||
const showLogs = showDeletedLogs ? true : run.logsDeletedAt ? false : true;
|
||||
const showLogs = showDeletedLogs || !run.logsDeletedAt;
|
||||
|
||||
const runData = {
|
||||
id: run.id,
|
||||
|
||||
Reference in New Issue
Block a user