Fixes for templates

This commit is contained in:
David Bomba 2023-09-27 11:18:35 +10:00
parent 21cc187326
commit 1677482a11

View File

@ -222,7 +222,7 @@ class TemplateService
$processed = []; $processed = [];
if(in_array($key, ['tasks','projects']) || !$value->first() || !$value->first()->invitations()->first()) if(in_array($key, ['tasks','projects']) || !$value->first() )
return $processed; return $processed;
match ($key) { match ($key) {