mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-27 19:42:11 +10:00
Fix wrong booking title on listing page
This commit is contained in:
parent
4f489ea50c
commit
2c3bb15355
2 changed files with 18 additions and 4 deletions
|
|
@ -229,9 +229,8 @@ export class ListingPageComponent extends Component {
|
|||
</span>
|
||||
);
|
||||
|
||||
const bookingTitle = intl.formatMessage(
|
||||
{ id: 'ListingPage.bookingSubTitle' },
|
||||
{ title: richTitle }
|
||||
const bookingTitle = (
|
||||
<FormattedMessage id="ListingPage.bookingTitle" values={{ title: richTitle }} />
|
||||
);
|
||||
const bookingSubTitle = intl.formatMessage({ id: 'ListingPage.bookingSubTitle' });
|
||||
|
||||
|
|
|
|||
|
|
@ -307,7 +307,22 @@ exports[`ListingPage matches snapshot 1`] = `
|
|||
onSubmit={[Function]}
|
||||
subTitle="ListingPage.bookingSubTitle"
|
||||
timeSlots={null}
|
||||
title="ListingPage.bookingSubTitle"
|
||||
title={
|
||||
<FormattedMessage
|
||||
id="ListingPage.bookingTitle"
|
||||
values={
|
||||
Object {
|
||||
"title": <span>
|
||||
|
||||
listing1
|
||||
|
||||
title
|
||||
|
||||
</span>,
|
||||
}
|
||||
}
|
||||
/>
|
||||
}
|
||||
unitType="line-item/night"
|
||||
/>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue