Displaying differences for changeset |
@@ -129,8 +129,8 @@ |
} |
}, |
[catenaActions.USER_UPDATE]: (state, action) => { |
- if (!action.user) { |
- // Remove tracking context |
+ if (action.user.id == 0) { |
+ // Remove tracking context for anonymous users (id = 0 default form er2_login) |
const itracking = state.items.findIndex( |
(item) => item.id === ids.ASSESSMENT_TRACKING, |
) |