- Try to move Add... functionality to overviews

This commit is contained in:
Josako
2024-12-13 10:41:29 +01:00
parent 3176b95323
commit 88ee4f482b
4 changed files with 24 additions and 4 deletions

View File

@@ -243,6 +243,8 @@ def handle_tenant_selection():
return redirect(prefixed_url_for('user_bp.edit_tenant', tenant_id=tenant_id))
case 'select_tenant':
return redirect(prefixed_url_for('user_bp.tenant_overview'))
case 'new_tenant':
return redirect(prefixed_url_for('user_bp.tenant'))
# Add more conditions for other actions
return redirect(prefixed_url_for('select_tenant'))