+
:
}
+ onClick={handleToggleSelf}
+ loading={adding || removing}
+ >
+ {isWatching ? t("notifications.tooltips.unwatch") : t("notifications.tooltips.watch")}
+
+
+
+
+ {t("notifications.labels.watching-issue")}
+
+ {watcherLoading ? (
+
+ ) : jobWatchers && jobWatchers.length > 0 ? (
+
+ ) : (
+
{t("notifications.labels.no-watchers")}
+ )}
+
+
+
{t("notifications.labels.add-watchers")}
+
jobWatchers.every((w) => w.user_email !== e.user_email)) || []}
+ placeholder={t("notifications.labels.employee-search")}
+ value={selectedWatcher}
+ onChange={(value) => {
+ setSelectedWatcher(value);
+ handleWatcherSelect(value);
+ }}
+ />
+ {Enhanced_Payroll && bodyshop?.employee_teams?.length > 0 && (
+ <>
+
+ {t("notifications.labels.add-watchers-team")}
+
+ );
+
+ return (
+