fix: keep dropdown menu expanded
This commit is contained in:
parent
14df5d5b68
commit
3091fb0783
|
@ -29,10 +29,10 @@ def pretalx_musicrate_settings(sender, request, **kwargs):
|
|||
{
|
||||
"label": "pretalx-musicrate",
|
||||
"url": reverse(
|
||||
"plugins:pretalx_musicrate:settings",
|
||||
"plugins:pretalx_musicrate:settings.musicrate",
|
||||
kwargs={"event": request.event.slug},
|
||||
),
|
||||
"active": request.resolver_match.view_name
|
||||
== "plugins:pretalx_musicrate:settings",
|
||||
== "plugins:pretalx_musicrate:settings.musicrate",
|
||||
}
|
||||
]
|
||||
|
|
|
@ -13,7 +13,7 @@ urlpatterns = [
|
|||
path(
|
||||
"orga/event/<slug:event>/settings/p/pretalx_musicrate/",
|
||||
MusicrateSettingsView.as_view(),
|
||||
name="settings",
|
||||
name="settings.musicrate",
|
||||
),
|
||||
path(
|
||||
"<slug:event>/p/pretalx_musicrate/",
|
||||
|
|
Loading…
Reference in New Issue