Fix off-by-one on ungrouped day selections
This commit is contained in:
parent
50ac26e398
commit
b07cd0fc22
1 changed files with 1 additions and 1 deletions
|
|
@ -728,7 +728,7 @@ fn render_log_view(frame: &mut Frame, app: &App) {
|
||||||
let is_entry = if is_by_project {
|
let is_entry = if is_by_project {
|
||||||
line.starts_with(" ") // 8 spaces for ByProject
|
line.starts_with(" ") // 8 spaces for ByProject
|
||||||
} else {
|
} else {
|
||||||
line.starts_with(" ") && !line.starts_with(" ") // 4 spaces for ByDate
|
line.starts_with(" ") && !line.starts_with(" ") && line.trim() != "---" // 4 spaces for ByDate
|
||||||
};
|
};
|
||||||
|
|
||||||
if is_entry {
|
if is_entry {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue