1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-03 18:28:13 +01:00

Fix sso copy buttons not behaving correctly (#1234)

This commit is contained in:
Oscar Hinton 2021-10-14 08:48:42 +02:00 committed by GitHub
parent 471490f14f
commit 4b4b5910e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@
<div class="input-group-append"> <div class="input-group-append">
<button type="button" class="btn btn-outline-secondary" <button type="button" class="btn btn-outline-secondary"
appA11yTitle="{{'copyValue' | i18n}}" appA11yTitle="{{'copyValue' | i18n}}"
(click)="copy(data.value.callbackPath)"> (click)="copy(callbackPath)">
<i class="fa fa-lg fa-clone" aria-hidden="true"></i> <i class="fa fa-lg fa-clone" aria-hidden="true"></i>
</button> </button>
</div> </div>
@ -48,7 +48,7 @@
<div class="input-group-append"> <div class="input-group-append">
<button type="button" class="btn btn-outline-secondary" <button type="button" class="btn btn-outline-secondary"
appA11yTitle="{{'copyValue' | i18n}}" appA11yTitle="{{'copyValue' | i18n}}"
(click)="copy(data.value.signedOutCallbackPath)"> (click)="copy(signedOutCallbackPath)">
<i class="fa fa-lg fa-clone" aria-hidden="true"></i> <i class="fa fa-lg fa-clone" aria-hidden="true"></i>
</button> </button>
</div> </div>
@ -124,7 +124,7 @@
<div class="input-group-append"> <div class="input-group-append">
<button type="button" class="btn btn-outline-secondary" <button type="button" class="btn btn-outline-secondary"
appA11yTitle="{{'copyValue' | i18n}}" appA11yTitle="{{'copyValue' | i18n}}"
(click)="copy(data.value.spEntityId)"> (click)="copy(spEntityId)">
<i class="fa fa-lg fa-clone" aria-hidden="true"></i> <i class="fa fa-lg fa-clone" aria-hidden="true"></i>
</button> </button>
</div> </div>
@ -136,13 +136,13 @@
<input class="form-control" readonly [value]="spMetadataUrl"> <input class="form-control" readonly [value]="spMetadataUrl">
<div class="input-group-append"> <div class="input-group-append">
<button type="button" class="btn btn-outline-secondary" <button type="button" class="btn btn-outline-secondary"
appA11yTitle="{{'copyValue' | i18n}}" appA11yTitle="{{'launch' | i18n}}"
(click)="launchUri(data.value.spMetadataUrl)"> (click)="launchUri(spMetadataUrl)">
<i class="fa fa-lg fa-external-link" aria-hidden="true"></i> <i class="fa fa-lg fa-external-link" aria-hidden="true"></i>
</button> </button>
<button type="button" class="btn btn-outline-secondary" <button type="button" class="btn btn-outline-secondary"
appA11yTitle="{{'copyValue' | i18n}}" appA11yTitle="{{'copyValue' | i18n}}"
(click)="copy(data.value.spMetadataUrl)"> (click)="copy(spMetadataUrl)">
<i class="fa fa-lg fa-clone" aria-hidden="true"></i> <i class="fa fa-lg fa-clone" aria-hidden="true"></i>
</button> </button>
</div> </div>
@ -155,7 +155,7 @@
<div class="input-group-append"> <div class="input-group-append">
<button type="button" class="btn btn-outline-secondary" <button type="button" class="btn btn-outline-secondary"
appA11yTitle="{{'copyValue' | i18n}}" appA11yTitle="{{'copyValue' | i18n}}"
(click)="copy(data.value.spAcsUrl)"> (click)="copy(spAcsUrl)">
<i class="fa fa-lg fa-clone" aria-hidden="true"></i> <i class="fa fa-lg fa-clone" aria-hidden="true"></i>
</button> </button>
</div> </div>