workflows: show all templated roles as computed values in sendmail action (#20431)
This commit is contained in:
parent
c8f1d7aa6f
commit
bb1f118155
|
@ -2059,7 +2059,7 @@ class SendmailWorkflowStatusItem(WorkflowStatusItem):
|
|||
def render_list_of_roles_or_emails(self, roles):
|
||||
t = []
|
||||
for r in roles:
|
||||
if r.startswith('=') or '[' in r:
|
||||
if r.startswith('=') or Template.is_template_string(r):
|
||||
t.append(_('computed value'))
|
||||
elif '@' in r:
|
||||
t.append(r)
|
||||
|
|
Loading…
Reference in New Issue