39b6c1c320
* Fix notice persistence after dismissal - This fix applied to the `incompatible payment gateway notice`. - We used the same dismissal logic in the `sidebar compatibility notice` * Get incompatible payments when initialized We initially get the list of `globalPaymentMethods` shared from the back-end as incompatible payments, because the front-end `availablePaymentMethods` is empty before the `paymentMethodsInitialized` state * Introduce advanced notice dismissal handling We want to display a dismissed incompatible gateways notice, when the list of incompatible gateways is updated (e.g., a new incompatible gateway is enabled) * Use the full block name for the `Cart` & `Checkout` * Update variable name for comprehension * Fix TS errors * Remove unused imports |
||
---|---|---|
.. | ||
block-settings | ||
payment-methods | ||
sidebar-notices | ||
view-switcher | ||
editor-utils.ts | ||
hacks.ts | ||
index.js | ||
use-forced-layout.ts |