Commit 666e87d9 authored by Simon Knox's avatar Simon Knox

fix dropdown paths

parent 8be02246
......@@ -58,9 +58,7 @@ gl.issueBoards.BoardSidebar = Vue.extend({
this.list = this.detail.list;
this.$nextTick(() => {
let issueUrl = this.$refs.assigneeDropdown.dataset.issueUpdate;
issueUrl = issueUrl.replace(':project_path', this.issue.project.path);
this.endpoint = issueUrl;
this.endpoint = this.$refs.assigneeDropdown.dataset.issueUpdate;
});
},
deep: true
......
......@@ -95,7 +95,7 @@ class ListIssue {
data.issue.label_ids = [''];
}
return Vue.http.patch(url, data);
return Vue.http.patch(url.replace(':project_path', this.project.path), data);
}
}
......
......@@ -38,7 +38,7 @@ module EE
end
def board_sidebar_user_data
super.merge(group_id: @group&.path)
super.merge(group_id: @group&.id)
end
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment