diff options
author | Anton Tananaev <anton@traccar.org> | 2022-06-23 15:53:31 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-06-23 15:53:31 -0700 |
commit | 468ed8b75c45b3d713449ced8466bab22227cb9f (patch) | |
tree | 6560210d52eeb3135059134e63032aea91753e97 /modern | |
parent | e8bbdc9749b13aa3aa1d6047d7136e66314b7c48 (diff) | |
download | trackermap-web-468ed8b75c45b3d713449ced8466bab22227cb9f.tar.gz trackermap-web-468ed8b75c45b3d713449ced8466bab22227cb9f.tar.bz2 trackermap-web-468ed8b75c45b3d713449ced8466bab22227cb9f.zip |
Limit to 3 tokens
Diffstat (limited to 'modern')
-rw-r--r-- | modern/src/common/components/NativeInterface.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/common/components/NativeInterface.js b/modern/src/common/components/NativeInterface.js index 75b954a8..aee4c042 100644 --- a/modern/src/common/components/NativeInterface.js +++ b/modern/src/common/components/NativeInterface.js @@ -40,7 +40,7 @@ const NativeInterface = () => { ...user, attributes: { ...user.attributes, - notificationTokens: [...tokens, token].join(','), + notificationTokens: [...tokens.slice(-2), token].join(','), }, }; |