260220:1143 20260220 TASK-BEFE-001 Fix Drawing Master Data Pages
All checks were successful
Build and Deploy / deploy (push) Successful in 4m50s
All checks were successful
Build and Deploy / deploy (push) Successful in 4m50s
This commit is contained in:
@@ -232,10 +232,10 @@ function ManageMappings({ projectId }: { projectId: number }) {
|
||||
<SelectValue placeholder="Select Sub-Category to add..." />
|
||||
</SelectTrigger>
|
||||
<SelectContent>
|
||||
{subCategories
|
||||
{(subCategories || [])
|
||||
.filter(
|
||||
(s: ContractSubCategory) =>
|
||||
!mappings.find((m: { subCategory: { id: number } }) => m.subCategory.id === s.id)
|
||||
!(mappings || []).find((m: { subCategory: { id: number } }) => m.subCategory?.id === s.id)
|
||||
)
|
||||
.map((s: ContractSubCategory) => (
|
||||
<SelectItem key={s.id} value={String(s.id)}>
|
||||
|
||||
Reference in New Issue
Block a user