feat: fix

This commit is contained in:
2024-08-30 13:47:29 +03:00
parent 9b71738f24
commit b93bfe39d5

View File

@@ -13,7 +13,7 @@ type RestProps = {
}
type Props = CRUDTableProps<DealSummary> & RestProps;
const DealsTable: FC<Props> = ({items, viewOnly = true}) => {
const DealsTable: FC<Props> = ({items, viewOnly = false}) => {
const columns = useDealsTableColumns();
const {setSelectedDeal} = useDealPageContext();
const onEditClick = (dealSummary: DealSummary) => {