Return the title for id of 'No label'

This commit is contained in:
Luke Bennett 2016-10-19 04:55:26 +01:00
parent ea9aee35a3
commit 4e028d333b
No known key found for this signature in database
GPG Key ID: A738E9C68D3BF31A
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@
},
fieldName: $dropdown.data('field-name'),
id: function(label) {
if (label.id <= 0) return;
if (label.id <= 0) return label.title;
if ($dropdown.hasClass('js-issuable-form-dropdown')) {
return label.id;