Skip to content

Commit

Permalink
Another fix related to booking selection
Browse files Browse the repository at this point in the history
  • Loading branch information
alextselegidis committed Jul 15, 2024
1 parent cc268f8 commit 5b387b0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions assets/js/pages/booking.js
Original file line number Diff line number Diff line change
Expand Up @@ -650,9 +650,10 @@ App.Pages.Booking = (function () {

$displayBookingSelection.text(`${lang('service')}${lang('provider')}`); // Notice: "│" is a custom ASCII char

const serviceOptionText = $selectService.find('option:selected').text();
const providerOptionText = $selectProvider.find('option:selected').text();

if (serviceId && providerId) {
const serviceOptionText = $selectService.find('option:selected').text();
const providerOptionText = $selectProvider.find('option:selected').text();
$displayBookingSelection.text(`${serviceOptionText}${providerOptionText}`);
}

Expand Down

0 comments on commit 5b387b0

Please sign in to comment.