Skip to content

Commit

Permalink
[logging] Add flag for document visibility (#9070)
Browse files Browse the repository at this point in the history
  • Loading branch information
Grace Guo committed Feb 3, 2020
1 parent bee913b commit c9a4384
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions superset/assets/src/middleware/loggerMiddleware.js
Expand Up @@ -107,6 +107,7 @@ const loggerMiddleware = store => next => action => {
...eventData,
event_type: 'user',
event_id: lastEventId,
visibility: document.visibilityState,
};
}

Expand Down

0 comments on commit c9a4384

Please sign in to comment.