From 91424fff3def09970c71c5725643daa4c5b141de Mon Sep 17 00:00:00 2001 From: Norwin Date: Fri, 19 Feb 2021 23:06:56 +0000 Subject: stopwatch notif: check if timetracking is enabled (#14750) fixes #14435 --- templates/base/head.tmpl | 1 + 1 file changed, 1 insertion(+) (limited to 'templates/base/head.tmpl') diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index 1dcaea8560..2feaf1dda4 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -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([ -- cgit v1.2.3