fix(tui): add address column (#53)
Reviewed-on: #53 Co-authored-by: Felipe Contreras Salinas <felipe@bstr.cl> Co-committed-by: Felipe Contreras Salinas <felipe@bstr.cl>
This commit is contained in:
parent
71a96f722e
commit
aac318e7b8
1 changed files with 2 additions and 0 deletions
|
|
@ -92,6 +92,7 @@ fn list_draw(state: &mut State, f: &mut Frame<'_>, area: Rect) {
|
||||||
p.latitude.to_string(),
|
p.latitude.to_string(),
|
||||||
p.longitude.to_string(),
|
p.longitude.to_string(),
|
||||||
p.icon.clone(),
|
p.icon.clone(),
|
||||||
|
p.address.clone(),
|
||||||
p.open_hours.clone(),
|
p.open_hours.clone(),
|
||||||
p.description.clone(),
|
p.description.clone(),
|
||||||
p.url.clone().unwrap_or_default(),
|
p.url.clone().unwrap_or_default(),
|
||||||
|
|
@ -117,6 +118,7 @@ fn list_draw(state: &mut State, f: &mut Frame<'_>, area: Rect) {
|
||||||
"Lat",
|
"Lat",
|
||||||
"Long",
|
"Long",
|
||||||
"Icon",
|
"Icon",
|
||||||
|
"Address",
|
||||||
"Open Hours",
|
"Open Hours",
|
||||||
"Description",
|
"Description",
|
||||||
"URL",
|
"URL",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue