690327:0841 Fixing Refactor ADR-019 Naming convention uuid #13
This commit is contained in:
@@ -206,8 +206,8 @@ export default function ContractsPage() {
|
|||||||
|
|
||||||
const handleEdit = (contract: Contract) => {
|
const handleEdit = (contract: Contract) => {
|
||||||
setEditingUuid(contract.id);
|
setEditingUuid(contract.id);
|
||||||
// ADR-019: project.publicId is the project's UUID
|
// ADR-019: nested project exposes UUID as 'id'
|
||||||
const pId = contract.project?.publicId || '';
|
const pId = contract.project?.id || '';
|
||||||
reset({
|
reset({
|
||||||
contractCode: contract.contractCode,
|
contractCode: contract.contractCode,
|
||||||
contractName: contract.contractName,
|
contractName: contract.contractName,
|
||||||
|
|||||||
Reference in New Issue
Block a user