Explorar el Código

Restored Sharelatex Template publishing UI (#2137)

GitOrigin-RevId: b322130a64baa93602ef5a8e79f1cefdff32feb1
Miguel Serrano hace 7 años
padre
commit
bc233e6eba
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      services/web/app/src/infrastructure/Features.js

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

@@ -40,7 +40,7 @@ module.exports = Features = {
         return Settings.oauth != null
       case 'publish-templates':
         return true
-      case 'view-templates':
+      case 'templates-server-pro':
         return Settings.overleaf == null
       case 'affiliations':
         // Checking both properties is needed for the time being to allow