diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-08 18:10:12 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-08 18:10:12 +0300 |
commit | 7b2fc4e0d49cbb115d54707292a5e97dab3691a4 (patch) | |
tree | eff996f90fc909771f51048bf805072f8899bc89 /app/assets/javascripts/issues/dashboard | |
parent | 1c1ef550838ffa13565208d7289915cdd4c17df4 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/issues/dashboard')
-rw-r--r-- | app/assets/javascripts/issues/dashboard/components/issues_dashboard_app.vue | 5 | ||||
-rw-r--r-- | app/assets/javascripts/issues/dashboard/index.js | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/app/assets/javascripts/issues/dashboard/components/issues_dashboard_app.vue b/app/assets/javascripts/issues/dashboard/components/issues_dashboard_app.vue index 8f318b10744..eb73f8e0182 100644 --- a/app/assets/javascripts/issues/dashboard/components/issues_dashboard_app.vue +++ b/app/assets/javascripts/issues/dashboard/components/issues_dashboard_app.vue @@ -81,6 +81,7 @@ export default { }, inject: [ 'autocompleteAwardEmojisPath', + 'autocompleteUsersPath', 'calendarPath', 'dashboardLabelsPath', 'dashboardMilestonesPath', @@ -384,7 +385,9 @@ export default { }); }, fetchUsers(search) { - return axios.get('/-/autocomplete/users.json', { params: { active: true, search } }); + return axios.get(this.autocompleteUsersPath, { + params: { active: true, search }, + }); }, getStatus(issue) { if (issue.state === STATUS_CLOSED && issue.moved) { diff --git a/app/assets/javascripts/issues/dashboard/index.js b/app/assets/javascripts/issues/dashboard/index.js index 999f07781b2..74633b251b2 100644 --- a/app/assets/javascripts/issues/dashboard/index.js +++ b/app/assets/javascripts/issues/dashboard/index.js @@ -15,6 +15,7 @@ export async function mountIssuesDashboardApp() { const { autocompleteAwardEmojisPath, + autocompleteUsersPath, calendarPath, dashboardLabelsPath, dashboardMilestonesPath, @@ -38,6 +39,7 @@ export async function mountIssuesDashboardApp() { }), provide: { autocompleteAwardEmojisPath, + autocompleteUsersPath, calendarPath, dashboardLabelsPath, dashboardMilestonesPath, |