mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 17:33:40 -05:00
Check that user.refProviders[provider] is set to a truthy value (#4063)
* Ensure that user.refProviders is set to a truthy value * Update stories * Update tests GitOrigin-RevId: 51919f755f6d3bcb9d3564685253222691b0d92b
This commit is contained in:
parent
3a45d270ec
commit
609c4495f5
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ export const contextProps = {
|
||||||
projectId: 'test-project',
|
projectId: 'test-project',
|
||||||
hasWritePermissions: true,
|
hasWritePermissions: true,
|
||||||
userHasFeature: () => true,
|
userHasFeature: () => true,
|
||||||
refProviders: {},
|
refProviders: { mendeley: false, zotero: false },
|
||||||
reindexReferences: () => {
|
reindexReferences: () => {
|
||||||
console.log('reindex references')
|
console.log('reindex references')
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue