This commit is contained in:
David Dworken 2023-10-14 17:30:12 -07:00
parent 6fb6498515
commit 1c4fe0d379
No known key found for this signature in database

View File

@ -655,6 +655,7 @@ func makeTable(ctx context.Context, rows []table.Row) (table.Model, error) {
return t, nil
}
// TODO: It seems like the TUI lags sometimes when deleting many entries?
func deleteHistoryEntry(ctx context.Context, entry data.HistoryEntry) error {
db := hctx.GetDb(ctx)
// Delete locally