Fixes AXO settings fields display and AXO sandbox mode

This commit is contained in:
Pedro Silva 2024-04-15 18:08:53 +01:00
parent 2e6f403ed1
commit 11b87155f3
No known key found for this signature in database
GPG key ID: E2EE20C0669D24B3
3 changed files with 10 additions and 13 deletions

View file

@ -435,7 +435,9 @@ class AxoManager {
}
async connect() {
window.localStorage.setItem('axoEnv', 'sandbox'); // TODO: check sandbox
if (this.axoConfig.environment.is_sandbox) {
window.localStorage.setItem('axoEnv', 'sandbox');
}
await this.fastlane.connect({
locale: this.locale,