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
b2697cc7
Commit
b2697cc7
authored
Apr 10, 2019
by
Winnie Hellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Copy boards store changes from EE
parent
842ade4e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
app/assets/javascripts/boards/stores/boards_store.js
app/assets/javascripts/boards/stores/boards_store.js
+11
-1
No files found.
app/assets/javascripts/boards/stores/boards_store.js
View file @
b2697cc7
...
@@ -13,7 +13,13 @@ const boardsStore = {
...
@@ -13,7 +13,13 @@ const boardsStore = {
filter
:
{
filter
:
{
path
:
''
,
path
:
''
,
},
},
state
:
{},
state
:
{
currentBoard
:
{
labels
:
[],
},
currentPage
:
''
,
reload
:
false
,
},
detail
:
{
detail
:
{
issue
:
{},
issue
:
{},
},
},
...
@@ -28,6 +34,10 @@ const boardsStore = {
...
@@ -28,6 +34,10 @@ const boardsStore = {
issue
:
{},
issue
:
{},
};
};
},
},
showPage
(
page
)
{
this
.
state
.
reload
=
false
;
this
.
state
.
currentPage
=
page
;
},
addList
(
listObj
,
defaultAvatar
)
{
addList
(
listObj
,
defaultAvatar
)
{
const
list
=
new
List
(
listObj
,
defaultAvatar
);
const
list
=
new
List
(
listObj
,
defaultAvatar
);
this
.
state
.
lists
.
push
(
list
);
this
.
state
.
lists
.
push
(
list
);
...
...
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