fix(SW-302): remove comments
This commit is contained in:
@@ -141,21 +141,12 @@ export function getRestaurantHeading(amenities: Amenities): RestaurantHeadings {
|
|||||||
)
|
)
|
||||||
const hasRestaurant = amenities.some((facility) => facility.id == 1383) // restaurant id
|
const hasRestaurant = amenities.some((facility) => facility.id == 1383) // restaurant id
|
||||||
|
|
||||||
//let href,
|
|
||||||
let title: RestaurantHeadings
|
|
||||||
|
|
||||||
if (hasBar && hasRestaurant) {
|
if (hasBar && hasRestaurant) {
|
||||||
//href = restaurantAndBar
|
return RestaurantHeadings.restaurantAndBar
|
||||||
title = RestaurantHeadings.restaurantAndBar
|
|
||||||
} else if (hasBar) {
|
} else if (hasBar) {
|
||||||
//href = bar
|
return RestaurantHeadings.bar
|
||||||
title = RestaurantHeadings.bar
|
|
||||||
} else if (hasRestaurant) {
|
} else if (hasRestaurant) {
|
||||||
//href = restaurant
|
return RestaurantHeadings.restaurant
|
||||||
title = RestaurantHeadings.restaurant
|
|
||||||
} else {
|
|
||||||
//href = breakfastRestaurant
|
|
||||||
title = RestaurantHeadings.breakfastRestaurant
|
|
||||||
}
|
}
|
||||||
return title
|
return RestaurantHeadings.breakfastRestaurant
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user