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
8fb7f319
Commit
8fb7f319
authored
Oct 18, 2017
by
Simon Knox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
projectId and groupId props as Numbers
parent
66d449c2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
app/assets/javascripts/boards/components/assignee_select.vue
app/assets/javascripts/boards/components/assignee_select.vue
+4
-4
app/assets/javascripts/boards/components/board_form.vue
app/assets/javascripts/boards/components/board_form.vue
+4
-4
app/views/shared/boards/_switcher.html.haml
app/views/shared/boards/_switcher.html.haml
+2
-2
No files found.
app/assets/javascripts/boards/components/assignee_select.vue
View file @
8fb7f319
...
@@ -24,9 +24,9 @@ export default {
...
@@ -24,9 +24,9 @@ export default {
required
:
true
,
required
:
true
,
},
},
groupId
:
{
groupId
:
{
type
:
String
,
type
:
Number
,
required
:
false
,
required
:
false
,
default
:
''
,
default
:
0
,
},
},
label
:
{
label
:
{
type
:
String
,
type
:
String
,
...
@@ -38,9 +38,9 @@ export default {
...
@@ -38,9 +38,9 @@ export default {
default
:
'
Select user
'
,
default
:
'
Select user
'
,
},
},
projectId
:
{
projectId
:
{
type
:
String
,
type
:
Number
,
required
:
false
,
required
:
false
,
default
:
''
,
default
:
0
,
},
},
selected
:
{
selected
:
{
type
:
Object
,
type
:
Object
,
...
...
app/assets/javascripts/boards/components/board_form.vue
View file @
8fb7f319
...
@@ -42,14 +42,14 @@ export default {
...
@@ -42,14 +42,14 @@ export default {
default
:
false
,
default
:
false
,
},
},
projectId
:
{
projectId
:
{
type
:
String
,
type
:
Number
,
required
:
false
,
required
:
false
,
default
:
''
,
default
:
0
,
},
},
groupId
:
{
groupId
:
{
type
:
String
,
type
:
Number
,
required
:
false
,
required
:
false
,
default
:
''
,
default
:
0
,
},
},
weights
:
{
weights
:
{
type
:
String
,
type
:
String
,
...
...
app/views/shared/boards/_switcher.html.haml
View file @
8fb7f319
...
@@ -38,8 +38,8 @@
...
@@ -38,8 +38,8 @@
%board-form
{
":milestone-path"
=>
"milestonePath"
,
%board-form
{
":milestone-path"
=>
"milestonePath"
,
"labels-path"
=>
labels_filter_path
(
true
),
"labels-path"
=>
labels_filter_path
(
true
),
"
project-id"
=>
@project
&
.
id
,
"
:project-id"
=>
"Number(#{@project&.id})"
,
"
group-id"
=>
@group
&
.
id
,
"
:group-id"
=>
"Number(#{@group&.id})"
,
":can-admin-board"
=>
can?
(
current_user
,
:admin_board
,
parent
),
":can-admin-board"
=>
can?
(
current_user
,
:admin_board
,
parent
),
":scoped-issue-board-feature-enabled"
=>
parent
.
feature_available?
(
:scoped_issue_board
),
":scoped-issue-board-feature-enabled"
=>
parent
.
feature_available?
(
:scoped_issue_board
),
"weights"
=>
[
Issue
::
WEIGHT_ANY
]
+
Issue
.
weight_options
,
"weights"
=>
[
Issue
::
WEIGHT_ANY
]
+
Issue
.
weight_options
,
...
...
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