Explorar o código

Restored Sharelatex Template publishing UI (#2137)

GitOrigin-RevId: b322130a64baa93602ef5a8e79f1cefdff32feb1
Miguel Serrano %!s(int64=7) %!d(string=hai) anos
pai
achega
bc233e6eba
Modificáronse 1 ficheiros con 1 adicións e 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