summaryrefslogtreecommitdiff
path: root/lib/Travelynx.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2023-03-04 09:03:50 +0100
committerDaniel Friesel <derf@finalrewind.org>2023-03-04 09:03:50 +0100
commite1231b88e2dd989dea0ce97d2b28d7e895cbfeaa (patch)
tree0d08bdf243f85b0efbaab23aebfeb988559672ec /lib/Travelynx.pm
parent9abdaefaf59a4edc169419fb66bec237a29b9189 (diff)
status/profile: re-add ability to show latest checkout, if desired1.30.1
got lost in 1.30.0
Diffstat (limited to 'lib/Travelynx.pm')
-rwxr-xr-xlib/Travelynx.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm
index 6d903e6..f182358 100755
--- a/lib/Travelynx.pm
+++ b/lib/Travelynx.pm
@@ -1609,7 +1609,7 @@ sub startup {
my ( $latest, $latest_cancellation ) = $self->journeys->get_latest(
uid => $uid,
- db => $db
+ db => $db,
);
if ( $latest_cancellation and $latest_cancellation->{cancelled} ) {
@@ -1675,6 +1675,8 @@ sub startup {
arr_name => $latest->{arr_name},
arr_platform => $latest->{arr_platform},
comment => $latest->{user_data}{comment},
+ visibility => $latest->{visibility},
+ visibility_str => $latest->{visibility_str},
};
}