Skip to content

Commit 2a04d17

Browse files
committed
Simplify showLogs expression
1 parent 002ae4b commit 2a04d17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/webapp/app/presenters/v3/RunPresenter.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export class RunPresenter {
7474
},
7575
});
7676

77-
const showLogs = showDeletedLogs ? true : run.logsDeletedAt ? false : true;
77+
const showLogs = showDeletedLogs || !run.logsDeletedAt;
7878

7979
const runData = {
8080
id: run.id,

0 commit comments

Comments
 (0)