We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5e0cb7c + 05a3766 commit 1c4e5a9Copy full SHA for 1c4e5a9
1 file changed
resources/js/components/SelectUserGroup.vue
@@ -65,6 +65,10 @@
65
type: Boolean,
66
default: false
67
},
68
+ usersEndpoint: {
69
+ type: String,
70
+ default: "users_task_count"
71
+ },
72
error: String,
73
helper: String,
74
placeholder: String,
@@ -232,7 +236,7 @@
232
236
233
237
loadUsers (filter) {
234
238
ProcessMaker.apiClient
235
- .get("users_task_count" + (typeof filter === "string" ? "?filter=" + filter : ""))
239
+ .get(this.usersEndpoint + (typeof filter === "string" ? "?filter=" + filter : ""))
240
.then(response => {
241
const users = response.data.data.map(user => this.addUsernameToFullName(user));
242
this.users = users;
0 commit comments