Explorar o código

Only show the TC "Guests" switch if token-acces UI is enabled

Shane Kilkelly %!s(int64=9) %!d(string=hai) anos
pai
achega
4130732c14
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      services/web/app/views/project/editor/review-panel.pug

+ 3 - 1
services/web/app/views/project/editor/review-panel.pug

@@ -91,7 +91,9 @@
 				)
 
 			li.rp-tc-state-separator
-			li.rp-tc-state-item.rp-tc-state-item-guests
+			li.rp-tc-state-item.rp-tc-state-item-guests(
+				ng-if="__enableTokenAccessUI"
+			)
 				span.rp-tc-state-item-name(
 					tooltip=translate('tc_switch_guests_tip')
 					tooltip-placement="left"