diff --git a/src/components/renderer/form-empty-table.vue b/src/components/renderer/form-empty-table.vue
index b43126a61..86307c5fb 100644
--- a/src/components/renderer/form-empty-table.vue
+++ b/src/components/renderer/form-empty-table.vue
@@ -21,7 +21,7 @@ export default {
},
methods: {
openLink() {
- window.open(this.link, "_blank");
+ window.open(this.url, "_blank");
}
}
};
diff --git a/src/components/renderer/form-requests.vue b/src/components/renderer/form-requests.vue
index d515ca365..e554d1977 100755
--- a/src/components/renderer/form-requests.vue
+++ b/src/components/renderer/form-requests.vue
@@ -48,7 +48,7 @@
-
+
@@ -81,6 +81,11 @@ export default {
]
};
},
+ computed: {
+ noDataUrl() {
+ return `${window.ProcessMaker?.app?.url}requests`;
+ }
+ },
mounted() {
this.setFields();
this.pmql = `requester = "${Processmaker.user.username}"`;
diff --git a/src/components/renderer/form-tasks.vue b/src/components/renderer/form-tasks.vue
index 1fea03d38..004a66f25 100755
--- a/src/components/renderer/form-tasks.vue
+++ b/src/components/renderer/form-tasks.vue
@@ -46,7 +46,7 @@
-
+
@@ -82,6 +82,11 @@ export default {
(window.SharedComponents && window.SharedComponents.TasksHome) || {}
};
},
+ computed: {
+ noDataUrl() {
+ return `${window.ProcessMaker?.app?.url}tasks`;
+ }
+ },
mounted() {
this.setFields();
this.pmql = `(user_id = ${ProcessMaker.user.id}) AND (status = "In Progress")`;
diff --git a/src/main.js b/src/main.js
index c51a98955..8b5e028fc 100644
--- a/src/main.js
+++ b/src/main.js
@@ -117,6 +117,9 @@ window.ProcessMaker = {
id: 1,
lang: "en"
},
+ app: {
+ url: window.location.href
+ },
apiClient: {
create() {
return this;