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

Commit 69cf705a authored by Akhil's avatar Akhil 🙂
Browse files

call orders api only if needed

parent a8855ce5
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) {