mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-15 08:56:57 +00:00
Update feature check
GitOrigin-RevId: 82ad7be9f619b03f4d02f39c37940b2040c11030
This commit is contained in:
parent
3a7384c83f
commit
bf42f6c5b5
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ module.exports = Features = {
|
|||
case 'references':
|
||||
return Settings.apis.references.url != null
|
||||
case 'saml':
|
||||
return Settings.enableSaml != null
|
||||
return Settings.enableSaml
|
||||
default:
|
||||
throw new Error(`unknown feature: ${feature}`)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue