... 'status' is a reserved renderer key. oops.

This commit is contained in:
Daniel Friesel 2022-08-04 14:07:25 +02:00
parent bc978120e1
commit 1a2ff8262d
No known key found for this signature in database
GPG key ID: 100D5BFB5166E005
2 changed files with 4 additions and 4 deletions

View file

@ -229,7 +229,7 @@ sub homepage {
'landingpage',
version => $self->app->config->{version}
// 'UNKNOWN',
status => $status,
user_status => $status,
connections => \@connecting_trains,
with_autocomplete => 1,
with_geolocation => 1
@ -243,7 +243,7 @@ sub homepage {
'landingpage',
version => $self->app->config->{version}
// 'UNKNOWN',
status => $status,
user_status => $status,
with_autocomplete => 1,
with_geolocation => 1
);
@ -257,7 +257,7 @@ sub homepage {
$self->render(
'landingpage',
version => $self->app->config->{version} // 'UNKNOWN',
status => $status,
user_status => $status,
with_autocomplete => 1,
with_geolocation => 1
);

View file

@ -1,5 +1,5 @@
% if (is_user_authenticated()) {
% my $status = stash('status');
% my $status = stash('user_status');
% if (stash('error')) {
<div class="row">
<div class="col s12">