Fixed users profile link in sidebar
Fixed new labels not being created Fixed scrolling issues
This commit is contained in:
parent
5f276f353c
commit
079d146278
4 changed files with 5 additions and 4 deletions
|
@ -29,7 +29,8 @@
|
|||
issue () {
|
||||
if (this.showSidebar) {
|
||||
this.$nextTick(() => {
|
||||
$(".right-sidebar").getNiceScroll(0).doScrollTop(0, 0);
|
||||
$('.right-sidebar').getNiceScroll(0).doScrollTop(0, 0);
|
||||
$('.right-sidebar').getNiceScroll().resize();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
altField: "input[name='" + this.fieldName + "']",
|
||||
onSelect: () => {
|
||||
if (this.$dropdown.hasClass('js-issue-boards-due-date')) {
|
||||
gl.issueBoards.BoardsStore.detail.issue.dueDate = $("input[name='" + this.fieldName + "']").val();
|
||||
gl.issueBoards.BoardsStore.detail.issue.dueDate = $(`input[name='${this.fieldName}']`).val();
|
||||
this.updateIssueBoardIssue();
|
||||
} else {
|
||||
return this.saveDueDate(true);
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
\-
|
||||
%a.js-assign-yourself{ href: "#" }
|
||||
assign yourself
|
||||
%a.author_link.bold{ href: "",
|
||||
%a.author_link.bold{ ":href" => "'#{root_url}' + issue.assignee.username",
|
||||
"v-if" => "issue.assignee" }
|
||||
%img.avatar.avatar-inline.s32{ ":src" => "issue.assignee.avatar",
|
||||
width: "32" }
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
":value" => "label.id" }
|
||||
.dropdown
|
||||
%button.dropdown-menu-toggle.js-label-select.js-multiselect.js-issue-board-sidebar{ type: "button",
|
||||
data: { toggle: "dropdown", field_name: "issue[label_names][]", show_no: "true", show_any: "true", project_id: @project.id, labels: namespace_project_labels_path(@project.namespace, @project, :json) },
|
||||
data: { toggle: "dropdown", field_name: "issue[label_names][]", show_no: "true", show_any: "true", project_id: @project.id, labels: namespace_project_labels_path(@project.namespace, @project, :json), namespace_path: @project.try(:namespace).try(:path), project_path: @project.try(:path) },
|
||||
":data-issue-update" => "'#{namespace_project_issues_path(@project.namespace, @project)}/' + issue.id + '.json'" }
|
||||
%span.dropdown-toggle-text
|
||||
Label
|
||||
|
|
Loading…
Reference in a new issue