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

Commit cce6fbba authored by Ronak Patel's avatar Ronak Patel
Browse files

added null conditio

parent 297ae613
Loading
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -56,7 +56,9 @@ export default {
		// Extracting the recovery email from the URL when the component is mounted
		const urlParams = new URLSearchParams(window.location.search)
		this.recoveryEmail = urlParams.get('recoveryEmail')

		if (!this.recoveryEmail) {
			this.recoveryEmail = ''
		}
		// Set formData.email directly to recoveryEmail
		this.formData.email = this.recoveryEmail
	},