From 4130732c14c0a023e8e29b2f96cd06336e175bb7 Mon Sep 17 00:00:00 2001 From: Shane Kilkelly Date: Mon, 30 Oct 2017 14:13:56 +0000 Subject: [PATCH] Only show the TC "Guests" switch if token-acces UI is enabled --- services/web/app/views/project/editor/review-panel.pug | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services/web/app/views/project/editor/review-panel.pug b/services/web/app/views/project/editor/review-panel.pug index 2c235df182..966bafcadd 100644 --- a/services/web/app/views/project/editor/review-panel.pug +++ b/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"