Skip to content

Commit

Permalink
Simplify showLogs expression
Browse files Browse the repository at this point in the history
  • Loading branch information
nicktrn committed Oct 8, 2024
1 parent 002ae4b commit 2a04d17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/webapp/app/presenters/v3/RunPresenter.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2a04d17

Please sign in to comment.