diff --git a/pretalx_musicrate/signals.py b/pretalx_musicrate/signals.py index 1df731c..ea9af8a 100644 --- a/pretalx_musicrate/signals.py +++ b/pretalx_musicrate/signals.py @@ -10,7 +10,7 @@ def pretalx_musicrate_qrcode(sender, request, **kwargs): return [] return [ { - "active": request.resolver_match.url_name + "active": request.resolver_match.view_name == "plugins:pretalx_musicrate:qrcode", "icon": "star", "label": _("Collective Rating"), @@ -32,7 +32,7 @@ def pretalx_musicrate_settings(sender, request, **kwargs): "plugins:pretalx_musicrate:settings", kwargs={"event": request.event.slug}, ), - "active": request.resolver_match.url_name + "active": request.resolver_match.view_name == "plugins:pretalx_musicrate:settings", } ]