aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-07-17 08:20:25 -0700
committerAnton Tananaev <anton@traccar.org>2022-07-17 08:20:25 -0700
commit2a4c6cfcb5d9dc12faa3333b2e3999356294e2dc (patch)
tree7e5479f1ae19b3dd7548f056e63dd6209d35e2bc /modern
parent61d82657e028e640ee88f11c0002bf66dd2a5924 (diff)
downloadtrackermap-web-2a4c6cfcb5d9dc12faa3333b2e3999356294e2dc.tar.gz
trackermap-web-2a4c6cfcb5d9dc12faa3333b2e3999356294e2dc.tar.bz2
trackermap-web-2a4c6cfcb5d9dc12faa3333b2e3999356294e2dc.zip
Telegram chat id attribute
Diffstat (limited to 'modern')
-rw-r--r--modern/src/common/attributes/useUserAttributes.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/modern/src/common/attributes/useUserAttributes.js b/modern/src/common/attributes/useUserAttributes.js
index 56dee060..a100539e 100644
--- a/modern/src/common/attributes/useUserAttributes.js
+++ b/modern/src/common/attributes/useUserAttributes.js
@@ -1,6 +1,10 @@
import { useMemo } from 'react';
export default (t) => useMemo(() => ({
+ telegramChatId: {
+ name: t('attributeTelegramChatId'),
+ type: 'string',
+ },
'mail.smtp.host': {
name: t('attributeMailSmtpHost'),
type: 'string',