Change null default value with undefined
This commit is contained in:
parent
77256e502a
commit
dd3697c018
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ App.Pages.Services = (function () {
|
||||||
availabilities_type: $availabilitiesType.val(),
|
availabilities_type: $availabilitiesType.val(),
|
||||||
attendants_number: $attendantsNumber.val(),
|
attendants_number: $attendantsNumber.val(),
|
||||||
is_private: Number($isPrivate.prop('checked')),
|
is_private: Number($isPrivate.prop('checked')),
|
||||||
id_categories: $category.val() || null
|
id_categories: $category.val() || undefined
|
||||||
};
|
};
|
||||||
|
|
||||||
if ($id.val() !== '') {
|
if ($id.val() !== '') {
|
||||||
|
|
Loading…
Reference in a new issue