fix saved tab not loading

This commit is contained in:
Ryan Stafford 2023-07-05 14:27:49 -04:00
parent 95195d00d7
commit c105dfc900

View file

@ -49,7 +49,7 @@
<ul>
{{ if .User }}
<li {{if eq .Op "" }}class="selected"{{end}}><a href="">overview</a></li>
{{ if eq .User.PersonView.Person.ID .Session.UserID}}
{{ if and .Session (eq .User.PersonView.Person.ID .Session.UserID) }}
<li {{if eq .Op "Saved"}}class="selected"{{end}}><a href="?view=Saved">saved</a></li>
{{ end }}
{{ else if .Comments -}}