mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #3058 from overleaf/jel-feature-zotero
Verify features exist before checking for Zotero feature GitOrigin-RevId: 9f1afddb6fb59d50f13b8ac7772fe93ae5d0ba04
This commit is contained in:
parent
305f82459f
commit
fa9c72c202
1 changed files with 2 additions and 1 deletions
|
@ -772,7 +772,8 @@ const ProjectController = {
|
|||
metrics.inc(metricName)
|
||||
|
||||
const enableOptimize =
|
||||
!!Settings.experimentId && !user.features.zotero
|
||||
!!Settings.experimentId &&
|
||||
(user.features && !user.features.zotero)
|
||||
|
||||
if (userId) {
|
||||
AnalyticsManager.recordEvent(userId, 'project-opened', {
|
||||
|
|
Loading…
Reference in a new issue