fix: avoid null pointer exception in template rendering
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<ul class="pb-8">
|
<ul class="pb-8">
|
||||||
{% if assignment.pickup %}
|
{% if assignment.destination.pickup(assignment.pickup) %}
|
||||||
<li class="py-2">
|
<li class="py-2">
|
||||||
<div class="flex items-center justify-between">
|
<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 {{ assignment.destination.pickup(assignment.pickup).city }}</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user