mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-25 22:37:18 +10:00
Merge pull request #1007 from sharetribe/fix-invalid-proptype-in-booking-panel
Add ownListing to listing prop type
This commit is contained in:
commit
499417fe45
2 changed files with 3 additions and 1 deletions
|
|
@ -14,6 +14,8 @@ way to update this template, but currently, we follow a pattern:
|
|||
|
||||
## Upcoming version 2019-XX-XX
|
||||
|
||||
- [fix] Allow ownListing as listing proptype in BookingPanel component.
|
||||
[#1007](https://github.com/sharetribe/flex-template-web/pull/1007)
|
||||
- [add] Add info text about additional owners to `PayoutDetailsForm`.
|
||||
[#1006](https://github.com/sharetribe/flex-template-web/pull/1006)
|
||||
- [change] Default to English translation if the translation key is missing. After this update, new
|
||||
|
|
|
|||
|
|
@ -168,7 +168,7 @@ BookingPanel.propTypes = {
|
|||
rootClassName: string,
|
||||
className: string,
|
||||
titleClassName: string,
|
||||
listing: propTypes.listing.isRequired,
|
||||
listing: oneOfType([propTypes.listing, propTypes.ownListing]),
|
||||
isOwnListing: bool,
|
||||
unitType: propTypes.bookingUnitType,
|
||||
onSubmit: func.isRequired,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue