Skip to content

Commit

Permalink
refactor: more concise list output
Browse files Browse the repository at this point in the history
  • Loading branch information
f3rno64 committed Dec 19, 2023
1 parent 7b8938a commit a42eabd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/print/columns/get_sheet_entry_columns.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ const getSheetEntryColumns = (
sheetNamePrefix,
`(${idUI})`,
`[${durationUI}]`,
`started ${startUI}`,
end === null ? C.clHighlightRed('active') : `ended ${endUI}`,
startUI,
C.clHighlightRed('->'),
end === null ? C.clHighlightRed('active') : endUI,
descriptionUI
]).map((value: string): string => (isActive ? colors.bold(value) : value))
}
Expand Down

0 comments on commit a42eabd

Please sign in to comment.