Commit 8fb7f319 authored by Simon Knox's avatar Simon Knox

projectId and groupId props as Numbers

parent 66d449c2
......@@ -24,9 +24,9 @@ export default {
required: true,
},
groupId: {
type: String,
type: Number,
required: false,
default: '',
default: 0,
},
label: {
type: String,
......@@ -38,9 +38,9 @@ export default {
default: 'Select user',
},
projectId: {
type: String,
type: Number,
required: false,
default: '',
default: 0,
},
selected: {
type: Object,
......
......@@ -42,14 +42,14 @@ export default {
default: false,
},
projectId: {
type: String,
type: Number,
required: false,
default: '',
default: 0,
},
groupId: {
type: String,
type: Number,
required: false,
default: '',
default: 0,
},
weights: {
type: String,
......
......@@ -38,8 +38,8 @@
%board-form{ ":milestone-path" => "milestonePath",
"labels-path" => labels_filter_path(true),
"project-id" => @project&.id,
"group-id" => @group&.id,
":project-id" => "Number(#{@project&.id})",
":group-id" => "Number(#{@group&.id})",
":can-admin-board" => can?(current_user, :admin_board, parent),
":scoped-issue-board-feature-enabled" => parent.feature_available?(:scoped_issue_board),
"weights" => [Issue::WEIGHT_ANY] + Issue.weight_options,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment