1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00
metamask-extension/ui/pages
Mark Stacey 3563a246fe
Allow templates without alerts (#13150)
The confirmation page template system allows templates to have alerts,
but it throws an uncaught Promise rejection if a template has no
alerts. This is the unintended side-effect of input validation.

The `getTemplateAlerts` function was updated to always return an array.
The one callsite was updated to expect an empty array if there were no
alerts to render, rather than expecting `undefined`.
2022-01-03 11:32:15 -03:30
..
add-collectible Feat/collectibles the return (#12970) 2021-12-13 17:41:10 -06:00
asset Feat/collectibles the return (#12970) 2021-12-13 17:41:10 -06:00
confirm-add-suggested-token Organizing storybook to echo app folder structure (#12796) 2021-12-01 11:27:57 -08:00
confirm-approve Using EIP-1559 V2 for swaps (#12966) 2021-12-12 04:56:28 +05:30
confirm-decrypt-message Permission System 2.0 (#12243) 2021-12-06 19:16:49 -08:00
confirm-deploy-contract Organizing storybook to echo app folder structure (#12796) 2021-12-01 11:27:57 -08:00
confirm-encryption-public-key Permission System 2.0 (#12243) 2021-12-06 19:16:49 -08:00
confirm-import-token Organizing storybook to echo app folder structure (#12796) 2021-12-01 11:27:57 -08:00
confirm-send-ether Organizing storybook to echo app folder structure (#12796) 2021-12-01 11:27:57 -08:00
confirm-send-token Organizing storybook to echo app folder structure (#12796) 2021-12-01 11:27:57 -08:00
confirm-token-transaction-base Organizing storybook to echo app folder structure (#12796) 2021-12-01 11:27:57 -08:00
confirm-transaction Hardening property check for stopPropagation in ConfirmTxScreen (#12158) 2021-09-21 11:58:39 -07:00
confirm-transaction-base Using EIP-1559 V2 for swaps (#12966) 2021-12-12 04:56:28 +05:30
confirm-transaction-switch Replace hardcoded sent ether label on confirm screen (#11802) 2021-09-15 16:54:51 -05:00
confirmation Allow templates without alerts (#13150) 2022-01-03 11:32:15 -03:30
connected-accounts Organizing storybook to echo app folder structure (#12796) 2021-12-01 11:27:57 -08:00
connected-sites Permission System 2.0 (#12243) 2021-12-06 19:16:49 -08:00
create-account Fix account name duplicates (#12867) 2021-12-16 07:11:55 -03:30
error remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
first-time-flow Update ESLint config to v8 (#12886) 2021-12-09 15:36:24 -03:30
home Permission System 2.0 (#12243) 2021-12-06 19:16:49 -08:00
import-token Fix isMainnet propType error (#12951) 2021-12-02 14:46:46 -03:30
keychains Make restore vault a form so an user can submit via keyboard (#12989) 2021-12-10 14:32:13 -05:00
lock remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
mobile-sync Organizing storybook to echo app folder structure (#12796) 2021-12-01 11:27:57 -08:00
onboarding-flow Organizing storybook to echo app folder structure (#12796) 2021-12-01 11:27:57 -08:00
permissions-connect Choose accounts refactor (#13039) 2021-12-14 18:54:46 -05:00
routes Feat/collectibles the return (#12970) 2021-12-13 17:41:10 -06:00
send Fix order of account list (#12999) 2021-12-10 10:46:24 -06:00
settings Update ESLint config to v8 (#12886) 2021-12-09 15:36:24 -03:30
swaps Using EIP-1559 V2 for swaps (#12966) 2021-12-12 04:56:28 +05:30
unlock-page Fix unlock-page component for new Storybook format (#12894) 2021-12-06 15:08:13 -08:00
index.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
pages.scss Using EIP-1559 V2 for swaps (#12966) 2021-12-12 04:56:28 +05:30