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
d5635118
Commit
d5635118
authored
Oct 09, 2017
by
Simon Knox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove some unused code
parent
60ca1167
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
12 deletions
+8
-12
app/assets/javascripts/boards/components/board_form.vue
app/assets/javascripts/boards/components/board_form.vue
+2
-6
app/assets/javascripts/boards/components/boards_selector.js
app/assets/javascripts/boards/components/boards_selector.js
+1
-1
app/assets/javascripts/boards/components/user_select.vue
app/assets/javascripts/boards/components/user_select.vue
+2
-4
app/assets/javascripts/boards/stores/boards_store.js
app/assets/javascripts/boards/stores/boards_store.js
+3
-1
No files found.
app/assets/javascripts/boards/components/board_form.vue
View file @
d5635118
...
...
@@ -13,7 +13,7 @@ window.gl.issueBoards = window.gl.issueBoards || {};
const
Store
=
gl
.
issueBoards
.
BoardsStore
;
export
default
Vue
.
extend
(
{
export
default
{
props
:
{
boardPath
:
{
type
:
String
,
...
...
@@ -159,10 +159,6 @@ export default Vue.extend({
// Clear the form when we open the "New board" modal
Store
.
updateBoardConfig
();
}
if
(
!
this
.
board
.
labels
)
{
this
.
board
.
labels
=
[];
}
},
},
mounted
()
{
...
...
@@ -172,7 +168,7 @@ export default Vue.extend({
this
.
$refs
.
name
.
focus
();
}
},
}
)
;
};
</
script
>
<
template
>
...
...
app/assets/javascripts/boards/components/boards_selector.js
View file @
d5635118
...
...
@@ -11,7 +11,7 @@ import BoardForm from './board_form.vue';
gl
.
issueBoards
.
BoardsSelector
=
Vue
.
extend
({
components
:
{
'
board-form
'
:
BoardForm
,
BoardForm
,
},
props
:
{
currentBoard
:
{
...
...
app/assets/javascripts/boards/components/user_select.vue
View file @
d5635118
...
...
@@ -69,10 +69,8 @@ export default {
},
methods
:
{
initSelect
()
{
this
.
$nextTick
(()
=>
{
new
UsersSelect
(
null
,
this
.
$refs
.
dropdown
,
{
handleClick
:
this
.
selectUser
,
});
new
UsersSelect
(
null
,
this
.
$refs
.
dropdown
,
{
handleClick
:
this
.
selectUser
,
});
},
selectUser
(
user
,
isMarking
)
{
...
...
app/assets/javascripts/boards/stores/boards_store.js
View file @
d5635118
...
...
@@ -46,7 +46,9 @@ gl.issueBoards.BoardsStore = {
};
},
createNewListDropdownData
()
{
this
.
state
.
currentBoard
=
{};
this
.
state
.
currentBoard
=
{
labels
:
[],
};
this
.
state
.
currentPage
=
''
;
this
.
state
.
reload
=
false
;
},
...
...
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