1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-18 08:23:36 +00:00

only show add button if admin

This commit is contained in:
Kyle Spearrin
2018-07-27 22:39:51 -04:00
parent dc69887628
commit 98d18fb097
2 changed files with 3 additions and 1 deletions

View File

@@ -13,7 +13,7 @@
<i *ngIf="actionSpinner.loading" class="fa fa-spinner fa-spin text-muted" title="{{'loading' | i18n}}"></i>
</small>
</h1>
<button type="button" class="btn btn-outline-primary btn-sm ml-auto" (click)="addCipher()">
<button type="button" class="btn btn-outline-primary btn-sm ml-auto" (click)="addCipher()" *ngIf="showAdd">
<i class="fa fa-plus fa-fw"></i>{{'addItem' | i18n}}
</button>
</div>