1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-04 09:33:27 +00:00

[Soft Delete] - Added trash to desktop app

This commit is contained in:
Chad Scharf
2020-04-13 15:13:10 -04:00
parent 93e7e9d261
commit c2eafba442
7 changed files with 89 additions and 20 deletions

View File

@@ -39,8 +39,8 @@
</ng-container>
</div>
<div class="footer">
<button appBlurClick (click)="addCipher()" (contextmenu)="addCipherOptions()" class="block primary"
appA11yTitle="{{'addItem' | i18n}}">
<button appBlurClick (click)="(deleted ? false : addCipher())" (contextmenu)="addCipherOptions()"
class="block primary" appA11yTitle="{{'addItem' | i18n}}" [disabled]="deleted">
<i class="fa fa-plus fa-lg" aria-hidden="true"></i>
</button>
</div>