Skip to content

Commit

Permalink
Show fetched entries count in preview
Browse files Browse the repository at this point in the history
  • Loading branch information
pcvolkmer committed May 28, 2024
1 parent 9e94018 commit 72fa6eb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions browser.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package main

import (
"database/sql"
"fmt"
"log"
"os"
"regexp"
Expand Down Expand Up @@ -213,7 +214,7 @@ func (browser *Browser) createPatientTable(patientIds []string) (*tview.Table, e
table := tview.NewTable()
table.SetBorder(true)
table.SetBorders(true)
table.SetTitle("Patienten-Daten")
table.SetTitle(fmt.Sprintf("Patienten-Daten - %d Einträge", len(data)))

headline := []string{
"PATIENT_ID",
Expand Down Expand Up @@ -274,7 +275,7 @@ func (browser *Browser) createSampleTable(patientIds []string) (*tview.Table, er
table := tview.NewTable()
table.SetBorder(true)
table.SetBorders(true)
table.SetTitle("Sample-Daten")
table.SetTitle(fmt.Sprintf("Sample-Daten - %d Einträge", len(data)))

headline := []string{
"PATIENT_ID",
Expand Down

0 comments on commit 72fa6eb

Please sign in to comment.