Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab4a5ee0 authored by Akhil's avatar Akhil 🙂
Browse files

Merge branch 'fix-api-call' into 'main'

call orders api only if needed

See merge request !32
parents a8855ce5 69cf705a
Loading
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -96,7 +96,9 @@ export default {
			this.shopEmailDefault = loadState(this.appName, 'shop_email_post_delete')
			this.userEmail = loadState(this.appName, 'email')
			this.getShopUser().then(() => {
				if (this.shopUserExists) {
					this.getOrdersInfo()
				}
				this.disableOrEnableDeleteAccount()
			})
		} catch (e) {