diff --git a/web/templates/demographics.html b/web/templates/demographics.html index b9c890a..0460a74 100644 --- a/web/templates/demographics.html +++ b/web/templates/demographics.html @@ -52,7 +52,7 @@ on {{.Demographic.LastUpdated.Format "Jan _2, 2006 @ 15:04:05 MST"}} - {{if .CurrentUser.IsAdmin}} + {{if and .LoggedIn .CurrentUser.IsAdmin}} Refresh now