Refactor JS addKebob and addModal

This commit is contained in:
Rachid Mrad 2024-10-30 15:32:42 -04:00
parent 24d55f41bf
commit 0f6ab2b6e6
No known key found for this signature in database
7 changed files with 82 additions and 184 deletions

View file

@ -478,7 +478,6 @@ class User(AbstractUser):
# Get the portfolio from the session using the existing method
portfolio = request.session.get("portfolio")
print(f"Portfolio from session: {portfolio}")
if not portfolio:
return 0 # No portfolio found