fix(tracker): fix new session check
This commit is contained in:
parent
464d4dfcd4
commit
ec5ceedb06
1 changed files with 1 additions and 1 deletions
|
|
@ -529,7 +529,7 @@ export default class App {
|
|||
timestamp: startTimestamp || timestamp,
|
||||
projectID,
|
||||
})
|
||||
if (!isNewSession) {
|
||||
if (!isNewSession && token === sessionToken) {
|
||||
console.log('continuing session on new tab', this.session.getTabId())
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
||||
this.send(TabChange(this.session.getTabId()))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue