Просмотр исходного кода

Restored Sharelatex Template publishing UI (#2137)

GitOrigin-RevId: b322130a64baa93602ef5a8e79f1cefdff32feb1
Miguel Serrano 7 лет назад
Родитель
Сommit
bc233e6eba
1 измененных файлов с 1 добавлено и 1 удалено
  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