diff --git a/html/template/sync/component/sidebar.html b/html/template/sync/component/sidebar.html index 83d8d87b..7f628b2c 100644 --- a/html/template/sync/component/sidebar.html +++ b/html/template/sync/component/sidebar.html @@ -51,14 +51,14 @@ title="Notifications" >
- {{ if gt (len .Notifications) 0 }} + {{ if gt (len .User.Notifications) 0 }} - {{ if gt (len .Notifications) 99 }} + {{ if gt (len .User.Notifications) 99 }} 99+ {{ else }} - {{ len .Notifications }} + {{ len .User.Notifications }} {{ end }} unread notifications @@ -112,7 +112,7 @@