Merge pull request #1680 from sharelatex/cmg-hide-unarchive

Only show unarchive button for project owners

GitOrigin-RevId: 5990be70cfcd9cf0708248d78845dc163a59a8b3
This commit is contained in:
Paulo Jorge Reis
2019-04-08 10:31:10 +00:00
committed by sharelatex
parent e6943e8e71
commit 9e63211a17
+1 -1
View File
@@ -96,7 +96,7 @@ if settings.overleaf
)
i.icon.fa.fa-sign-out(aria-hidden="true")
button.btn.btn-link.action-btn(
ng-if="project.archived"
ng-if="project.archived && isOwner()"
aria-label=translate('unarchive'),
tooltip=translate('unarchive'),
tooltip-placement="top",