Skip to content

Commit 8599141

Browse files
committed
Update vue components
1 parent 76892b5 commit 8599141

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"@openeo/js-client": "^2.5.1",
4646
"@openeo/js-commons": "^1.4.1",
4747
"@openeo/js-processgraphs": "^1.3.0",
48-
"@openeo/vue-components": "^2.8.0",
48+
"@openeo/vue-components": "^2.8.1",
4949
"ajv": "^6.12.6",
5050
"axios": "^0.24.0",
5151
"chart.js": "^3.7.1",

src/components/ConnectForm.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ export default {
206206
},
207207
async created() {
208208
var serverFromQuery = Utils.param('server');
209-
if (!this.$config.serverUrl && Utils.isUrl(serverFromQuery)) {
209+
if (!this.$config.serverUrl && serverFromQuery) {
210210
this.serverUrl = serverFromQuery;
211211
}
212212

src/utils.js

-4
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,6 @@ class Utils extends VueUtils {
200200
return urlParams.get(name);
201201
}
202202

203-
static isUrl(url) {
204-
return (VueUtils.hasText(url) && url.match(/^https?:\/\//i) !== null);
205-
}
206-
207203
static isBboxInWebMercator(bboxes) {
208204
if (!bboxes) {
209205
return null;

0 commit comments

Comments
 (0)