Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasHub committed Dec 26, 2024
1 parent 4800d64 commit 94e0cb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/project/EditProject.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export const EditProject = () => {
</Col>
</Row>
<Form>
<Row>
<Row>git
<ArrayInput
config={projectFormConfig}
model={project}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import {MinimalInputProps} from '../../controls/form-controls/inputs/BaseInput';
import {ProjectClientModel, ProjectEndCustomerModel} from '../models/IProjectModel';
import {getNewProjectClient, getNewProjectEndCustomer} from '../models/getNewProject';
import {getNewProjectClient} from '../models/getNewProject';
import {ArrayInput} from '../../controls/form-controls/inputs/ArrayInput';
import {FullFormConfig} from '../../../models';
import {getNewInvoiceLine, InvoiceLine} from '../../invoice/models/InvoiceLineModels';
Expand Down Expand Up @@ -91,9 +91,8 @@ const endCustomerConfig: FullFormConfig = [
];

export const EditProjectEndCustomer = ({value, onChange} : EditProjectEndCustomerProps ) => {
console.log("loading cmp");
const projectEndCustomer : ProjectEndCustomerModel | undefined | null = value;

if(!projectEndCustomer){
return null;
}
Expand Down

0 comments on commit 94e0cb7

Please sign in to comment.