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

Commit 0c1d2fbe authored by AVINASH GUSAIN's avatar AVINASH GUSAIN
Browse files

code optimization

parent aa9501d6
Loading
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -121,17 +121,13 @@ export default {
				this.$emit('update:value', event.target.value)
			}
		},
		goto(event) {
		goto() {
			const urlval = this.value
			window.open(urlval, '_blank').focus()
		},
	},
	mounted() {
		if (this.value === null) {
			this.visibleValue = false
		} else {
		this.visibleValue = isValidHttpUrl(this.value)
		}
	},
}
</script>