Changeset 07f4e8b for frontend/src/Components/Resources/AddAvailability.js
- Timestamp:
- 01/24/24 17:42:28 (8 months ago)
- Branches:
- master
- Children:
- 0f5aa27
- Parents:
- 5528b99
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
frontend/src/Components/Resources/AddAvailability.js
r5528b99 r07f4e8b 1 import React from "react";1 import React from "react"; 2 2 import { Container, Row, Modal, Im } from "react-bootstrap"; 3 3 import { useState } from "react"; … … 42 42 <Modal.Body> 43 43 {props.type === "hotel" && <AddHotelForm/>} 44 {props.type === "room" && <AddRoomAvailablityForm hotelRoomId={props.hotelRoomId}/>}45 {props.type === "table" && <AddTableAvailablityForm table={props.table}/>}44 {props.type === "room" && <AddRoomAvailablityForm refresh={props.refresh} close={props.closeModal} hotelRoomId={props.hotelRoomId}/>} 45 {props.type === "table" && <AddTableAvailablityForm refresh={props.refresh} close={props.closeModal} table={props.table}/>} 46 46 {props.type === "restaurant" && <AddRestaurantForm/>} 47 47 {props.type === "transport" && <AddTransportForm/>}
Note:
See TracChangeset
for help on using the changeset viewer.