feat(admin-ui): Rename allocation to reservation (#4133)

* rename allocation -> reservation

* add changeset

* edit-reservation modal

* rename
This commit is contained in:
Philip Korsholm
2023-06-05 16:28:29 +02:00
committed by GitHub
parent 572280e1d1
commit 869628bf4c
7 changed files with 92 additions and 83 deletions

View File

@@ -8,8 +8,8 @@ import {
import Button from "../../fundamentals/button"
import DeletePrompt from "../../organisms/delete-prompt"
import EditAllocationDrawer from "../../../domain/orders/details/allocations/edit-allocation-modal"
import EditIcon from "../../fundamentals/icons/edit-icon"
import EditReservationDrawer from "../../../domain/orders/details/reservation/edit-reservation-modal"
import Fade from "../../atoms/fade-wrapper"
import NewReservation from "./new"
import { NextSelect } from "../../molecules/select/next-select"
@@ -340,7 +340,7 @@ const ReservationRow = ({
})}
</Table.Row>
{showEditReservation && (
<EditAllocationDrawer
<EditReservationDrawer
close={() => setShowEditReservation(null)}
reservation={row.original}
/>