Przeglądaj źródła

Update feature check

GitOrigin-RevId: 82ad7be9f619b03f4d02f39c37940b2040c11030
Jessica Lawshe 7 lat temu
rodzic
commit
bf42f6c5b5
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      services/web/app/src/infrastructure/Features.js

+ 1 - 1
services/web/app/src/infrastructure/Features.js

@@ -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}`)
     }