mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-30 12:55:02 +00:00
coordination and design docs not listed under install
This commit is contained in:
parent
f99374a16f
commit
d292bb53c1
1 changed files with 6 additions and 1 deletions
|
|
@ -16,7 +16,12 @@ export function splitDocumentsByType(docs: PropertyDocument[]): {
|
||||||
docs: docs.filter((d) => SURVEY_ALL_DOC_TYPES.has(d.docType)),
|
docs: docs.filter((d) => SURVEY_ALL_DOC_TYPES.has(d.docType)),
|
||||||
coordinationDocs: docs.filter((d) => COORDINATION_DOC_TYPES.has(d.docType)),
|
coordinationDocs: docs.filter((d) => COORDINATION_DOC_TYPES.has(d.docType)),
|
||||||
designDocs: docs.filter((d) => DESIGN_DOC_TYPES.has(d.docType)),
|
designDocs: docs.filter((d) => DESIGN_DOC_TYPES.has(d.docType)),
|
||||||
installDocs: docs.filter((d) => !SURVEY_ALL_DOC_TYPES.has(d.docType)),
|
installDocs: docs.filter(
|
||||||
|
(d) =>
|
||||||
|
!SURVEY_ALL_DOC_TYPES.has(d.docType) &&
|
||||||
|
!COORDINATION_DOC_TYPES.has(d.docType) &&
|
||||||
|
!DESIGN_DOC_TYPES.has(d.docType),
|
||||||
|
),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue