fix: avoid null pointer exception
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
<ul class="pb-8">
|
||||
{% if assignment.destination.pickup(assignment.pickup) %}
|
||||
{% set pickup = assignment.destination.pickup(assignment.pickup) %}
|
||||
{% if pickup is not null %}
|
||||
<li class="py-2">
|
||||
<div class="flex items-center justify-between">
|
||||
<span class="flex-1">Busbegleitung ab {{ assignment.destination.pickup(assignment.pickup).city }}</span>
|
||||
<span class="flex-1">Busbegleitung ab {{ pickup.city }}</span>
|
||||
{% if has_pickup(assignment.pickup, teamer) %}
|
||||
{{ icon('check', 'w-5 h-5 text-green-500 shrink-0') }}
|
||||
{% else %}
|
||||
|
||||
Reference in New Issue
Block a user