diff --git a/v2_adminpanel/routes/license_routes.py b/v2_adminpanel/routes/license_routes.py index 73318e0..21f8811 100644 --- a/v2_adminpanel/routes/license_routes.py +++ b/v2_adminpanel/routes/license_routes.py @@ -32,7 +32,8 @@ def licenses(): per_page = 50 # Process type filter to determine show_test - show_test = filter_type in ['test_data', 'test'] + # Default: show only real data unless test_data is explicitly selected + show_test = filter_type == 'test_data' # Get licenses based on filters licenses_list = get_licenses(show_test=show_test) diff --git a/v2_adminpanel/templates/base.html b/v2_adminpanel/templates/base.html index fe12af9..fe3580c 100644 --- a/v2_adminpanel/templates/base.html +++ b/v2_adminpanel/templates/base.html @@ -375,6 +375,12 @@ Alle Kunden +