2
0
Fork 0

fix asta warning on single shift pages

This commit is contained in:
Andreas (@xAndy) Zimmermann 2023-05-18 16:24:30 +02:00
parent 5ee93aa8de
commit 7c19caab6b
1 changed files with 1 additions and 0 deletions

View File

@ -178,6 +178,7 @@ def shift(request, shiftid):
shift = get_object_or_404(Shift, pk=shiftid) shift = get_object_or_404(Shift, pk=shiftid)
helper = request.helper helper = request.helper
context = { context = {
"enable_asta": global_preferences["helper__enable_asta"],
"can_register": False, "can_register": False,
"is_registered": False, "is_registered": False,
"can_cancel": False, "can_cancel": False,