fix: remove Jinja2 condition from accounting menu items (Jinja2 not effective at menu render time)

This commit is contained in:
yumoqing 2026-05-29 00:10:50 +08:00
parent ed17dc0c86
commit 5cb9cef2a9

View File

@ -87,7 +87,6 @@
"target": "app.sage_main_content"
}
{% endif %}
{% if 'reseller.accountant' in roles or 'owner.superuser' in roles %}
,{
"name": "accounting",
"label": "计费管理",
@ -102,7 +101,6 @@
"url": "{{entire_url('/accounting/credit_limit/index.ui')}}",
"target": "app.sage_main_content"
}
{% endif %}
{% if get_user() %}
,{
"name": "rbac",