Commits

g...@13f79535-47bb-0310-9956-ffa450edef68  committed 08d565e Draft

dashboard: fix error with dashboard widgets attempting to deal with no Versions (and similar) - fixes #122

  • Participants
  • Parent commits ec98dc4

Comments (0)

Files changed (1)

File bhdashboard/widgets/ticket.py

                                              },
                               }
                 if fieldnm in field_maps:
-                    admin_suffix = field_maps.get[fieldnm]['admin_url']
+                    admin_suffix = field_maps.get(fieldnm)['admin_url']
                     if 'TICKET_ADMIN' in req.perm and admin_suffix is not None:
                         hint = _('You can add one or more '
                                  '<a href="%(url)s">here</a>',