Only show label version button for users with write permission (#1665)

Only show label version button for users with write permission

GitOrigin-RevId: f0a6504b51c1e9018942592ad6784599694c571a
This commit is contained in:
Timothée Alby 2019-04-23 10:21:23 -04:00 committed by sharelatex
parent d3f0285fd2
commit 967973f354

View file

@ -44,7 +44,7 @@
)
button.history-toolbar-btn(
ng-click="showAddLabelDialog();"
ng-if="!history.showOnlyLabels"
ng-if="!history.showOnlyLabels && permissions.write"
ng-disabled="isHistoryLoading() || history.selection.range.toV == null || history.selection.range.fromV == null"
)
i.fa.fa-tag