Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
a810e2e2
Commit
a810e2e2
authored
Feb 03, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed adding to list bug
parent
fee064be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
app/assets/javascripts/boards/components/modal/footer.js.es6
app/assets/javascripts/boards/components/modal/footer.js.es6
+5
-2
No files found.
app/assets/javascripts/boards/components/modal/footer.js.es6
View file @
a810e2e2
...
@@ -8,7 +8,10 @@
...
@@ -8,7 +8,10 @@
gl.issueBoards.ModalFooter = Vue.extend({
gl.issueBoards.ModalFooter = Vue.extend({
mixins: [gl.issueBoards.ModalMixins],
mixins: [gl.issueBoards.ModalMixins],
data() {
data() {
return ModalStore.store;
return {
modal: ModalStore.store,
state: gl.issueBoards.BoardsStore.state,
};
},
},
computed: {
computed: {
submitDisabled() {
submitDisabled() {
...
@@ -22,7 +25,7 @@
...
@@ -22,7 +25,7 @@
},
},
methods: {
methods: {
addIssues() {
addIssues() {
const list = this.
selectedList
;
const list = this.
modal.selectedList || this.state.lists[0]
;
const selectedIssues = ModalStore.getSelectedIssues();
const selectedIssues = ModalStore.getSelectedIssues();
const issueIds = selectedIssues.map(issue => issue.globalId);
const issueIds = selectedIssues.map(issue => issue.globalId);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment