Skip to content

Commit

Permalink
Show the any-provider if there are more than one providers
Browse files Browse the repository at this point in the history
  • Loading branch information
alextselegidis committed Dec 19, 2024
1 parent c8bb40d commit 76039fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/pages/booking.js
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ App.Pages.Booking = (function () {
});

// Add the "Any Provider" entry.
if ($selectProvider.find('option').length > 1 && vars('display_any_provider') === '1') {
if ($selectProvider.find('option').length > 2 && vars('display_any_provider') === '1') {
$(new Option(lang('any_provider'), 'any-provider')).insertAfter($selectProvider.find('option:first'));
}

Expand Down

0 comments on commit 76039fb

Please sign in to comment.