Przeglądaj źródła

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

Shane Kilkelly 9 lat temu
rodzic
commit
4130732c14

+ 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"