Skip to content

Commit

Permalink
chore(dump): Change Healthchecks logs to use non-rounded border variant
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Sep 14, 2024
1 parent c40f234 commit 3aa13f2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/actions/dump/dump.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,10 @@ func (action Dump) summary(err error, took time.Duration, size *util.SizeWriter,
t.Row("Size", size.String())
}

if plain {
t.Border(lipgloss.NormalBorder())
}

return lipgloss.JoinVertical(lipgloss.Center,
tui.HeaderStyle(r).Render("Dump Summary"),
t.Render(),
Expand Down
4 changes: 4 additions & 0 deletions internal/actions/restore/restore.go
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,10 @@ func (action Restore) summary(err error, took time.Duration, size *util.SizeWrit
t.Row("Size", size.String())
}

if plain {
t.Border(lipgloss.NormalBorder())
}

return lipgloss.JoinVertical(lipgloss.Center,
tui.HeaderStyle(nil).PaddingTop(1).Render("Restore Summary"),
t.Render(),
Expand Down

0 comments on commit 3aa13f2

Please sign in to comment.