Skip to content

Commit

Permalink
logic condition
Browse files Browse the repository at this point in the history
  • Loading branch information
owocki committed Jul 9, 2019
1 parent be00a17 commit 584d3e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/dashboard/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2074,7 +2074,7 @@ def profile(request, handle):
}

return JsonResponse(msg, status=msg.get('status', 200))
context['show_activity'] = request.GET.get('p', None)
context['show_activity'] = request.GET.get('p', False) != False
return TemplateResponse(request, 'profiles/profile.html', context, status=status)


Expand Down

0 comments on commit 584d3e8

Please sign in to comment.