Disable the review button when history is open.

This commit is contained in:
Paulo Reis 2018-08-31 17:10:15 +01:00
parent b8f14873d2
commit 4ff7410391

View file

@ -93,7 +93,8 @@ header.toolbar.toolbar-header.toolbar-with-labels(
a.btn.btn-full-height(
href,
ng-if="project.features.trackChangesVisible",
ng-class="{ active: ui.reviewPanelOpen }"
ng-class="{ active: ui.reviewPanelOpen && ui.view !== 'history' }"
ng-disabled="ui.view === 'history'"
ng-click="toggleReviewPanel()"
)
i.review-icon