1
0
Fork 0
forked from forgejo/forgejo

stopwatch notif: check if timetracking is enabled (#14750)

fixes #14435
This commit is contained in:
Norwin 2021-02-19 23:06:56 +00:00 committed by GitHub
parent aa4f9180e4
commit 91424fff3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 2 deletions

View file

@ -42,6 +42,7 @@
MaxTimeout: {{NotificationSettings.MaxTimeout}},
EventSourceUpdateTime: {{NotificationSettings.EventSourceUpdateTime}},
},
EnableTimetracking: {{if EnableTimetracking}}true{{else}}false{{end}},
PageIsProjects: {{if .PageIsProjects }}true{{else}}false{{end}},
{{if .RequireTribute}}
tributeValues: Array.from(new Map([