Simplify showLogs expression

This commit is contained in:
nicktrn
2024-10-08 09:24:23 +01:00
parent 002ae4bc0d
commit 2a04d17e1f
@@ -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,