1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-21 02:33:46 +00:00

Add a "launch site" button directly to the list of ciphers (#384)

* Add a button to launch the primary uri for a site straight from the list.

* Take cues from the add-edit component on properly checking if we can launch.

* Move the launch button to the dropdown menu.

* Take LoginView as launch parameter instead of LoginUriView.
This commit is contained in:
Shawn Beachy
2019-04-26 09:07:57 -04:00
committed by Kyle Spearrin
parent 96cc9c681c
commit 1060775cad
2 changed files with 16 additions and 1 deletions

View File

@@ -34,6 +34,11 @@
<i class="fa fa-fw fa-clipboard"></i>
{{'copyPassword' | i18n}}
</a>
<a class="dropdown-item" href="#" appStopClick
*ngIf="c.type === cipherType.Login && c.login.canLaunch" (click)="launch(c.login)">
<i class="fa fa-fw fa-share"></i>
{{'launch' | i18n}}
</a>
<a class="dropdown-item" href="#" appStopClick (click)="attachments(c)">
<i class="fa fa-fw fa-paperclip"></i>
{{'attachments' | i18n}}
@@ -71,4 +76,4 @@
<i class="fa fa-plus fa-fw"></i>{{'addItem' | i18n}}</button>
</ng-container>
</div>
</ng-container>
</ng-container>