1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-17 06:52:27 +01:00

refresh payzen keys after initial setting

This commit is contained in:
Sylvain 2021-05-18 15:56:22 +02:00
parent 6b99b00d5e
commit 9355256909
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ const PayZenKeysFormComponent: React.FC<PayZenKeysFormProps> = ({ onValidKeys })
/**
* Assign the inputted key to the settings and check if it is valid.
* Depending on the test result, assign an add-on icon and a style to notify the user.
* Depending on the test result, assign an add-on icon plus a style to notify the user.
*/
const testPublicKey = (key: string) => {
if (!key) return;

View File

@ -64,7 +64,7 @@
</text-setting>
</div>
</div>
<div class="row m-t" ng-show="allSettings.online_payment_module === 'true' && allSettings.payment_gateway === 'payzen'">
<div class="row m-t" ng-if="allSettings.online_payment_module === 'true' && allSettings.payment_gateway === 'payzen'">
<payzen-settings on-edit-keys="selectPaymentGateway" on-currency-update-success="alertPayZenCurrencyUpdated" />
</div>
</div>