1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
This commit is contained in:
Jyoti Puri 2023-02-01 19:07:15 +05:30 committed by GitHub
parent db0492e042
commit 8fd65a698e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 70 additions and 4 deletions

View File

@ -27,9 +27,9 @@ const ConfirmPageContainerNavigation = () => {
unconfirmedTransactionsHashSelector,
);
const enumUnapprovedDecryptMsgsKey = Object.keys(unapprovedDecryptMsgs);
const enumUnapprovedDecryptMsgsKey = Object.keys(unapprovedDecryptMsgs || {});
const enumUnapprovedEncryptMsgsKey = Object.keys(
unapprovedEncryptionPublicKeyMsgs,
unapprovedEncryptionPublicKeyMsgs || {},
);
const enumDecryptAndEncryptMsgs = [
...enumUnapprovedDecryptMsgsKey,

View File

@ -42,7 +42,7 @@ exports[`Confirm Transaction Base should match snapshot 1`] = `
of
0
1
</div>
<div
class="confirm-page-container-navigation__longtext"
@ -52,7 +52,7 @@ exports[`Confirm Transaction Base should match snapshot 1`] = `
</div>
<div
class="confirm-page-container-navigation__container"
style="visibility: hidden;"
style="visibility: initial;"
>
<button
class="confirm-page-container-navigation__arrow"

View File

@ -5,6 +5,72 @@ exports[`Signature Request Component render should match snapshot 1`] = `
<div
class="signature-request"
>
<div
class="confirm-page-container-navigation"
style="display: none;"
>
<div
class="confirm-page-container-navigation__container"
data-testid="navigation-container"
style="visibility: hidden;"
>
<button
class="confirm-page-container-navigation__arrow"
data-testid="first-page"
>
<i
class="fa fa-angle-double-left fa-2x"
/>
</button>
<button
class="confirm-page-container-navigation__arrow"
data-testid="previous-page"
>
<i
class="fa fa-angle-left fa-2x"
/>
</button>
</div>
<div
class="confirm-page-container-navigation__textcontainer"
>
<div
class="confirm-page-container-navigation__navtext"
>
0
of
1
</div>
<div
class="confirm-page-container-navigation__longtext"
>
requests waiting to be acknowledged
</div>
</div>
<div
class="confirm-page-container-navigation__container"
style="visibility: initial;"
>
<button
class="confirm-page-container-navigation__arrow"
data-testid="next-page"
>
<i
class="fa fa-angle-right fa-2x"
/>
</button>
<button
class="confirm-page-container-navigation__arrow"
data-testid="last-page"
>
<i
class="fa fa-angle-double-right fa-2x"
/>
</button>
</div>
</div>
<div
class="request-signature__account"
>