فهرست منبع

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

Shane Kilkelly 9 سال پیش
والد
کامیت
4130732c14
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  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"