Skip to content

Commit

Permalink
fix: Fix legacy_url on context
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Christie committed Dec 14, 2023
1 parent bea2a93 commit 5c8c332
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion viewer/templates/viewer/react_temp.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@

{% if user.is_authenticated %}
var DJANGO_CONTEXT ={
username: '{{user.username}}',
legacy_url: '{{ legacy_url }}',
username: '{{ user.username }}',
email: '{{ user.email|default:"noemail" }}',
pk: {{user.pk|default:-1}},
authenticated: true,
Expand Down

0 comments on commit 5c8c332

Please sign in to comment.