Ensure the color selection widget is not disabled when adding a new service (#1427)

This commit is contained in:
Alex Tselegidis 2023-10-16 11:08:03 +02:00
parent 73323c15d3
commit 49dcf21c10

View file

@ -100,6 +100,7 @@ App.Pages.Services = (function () {
$services.find('.record-details .form-label span').prop('hidden', false);
$filterServices.find('button').prop('disabled', true);
$filterServices.find('.results').css('color', '#AAA');
App.Components.ColorSelection.enable($color);
// Default values
$name.val('Service');