Skip to content

Commit

Permalink
chore: schema
Browse files Browse the repository at this point in the history
  • Loading branch information
ayeshmcg committed Dec 19, 2024
1 parent 34f7b18 commit 8ba9038
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions bciers/apps/reporting/src/data/jsonSchema/operations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ export const operationReviewSchema: RJSFSchema = {
default: "Annual report",
},

operation_representative_name: {
type: "array",
title: "Operation representative",
},

date_info: {
type: "object",
readOnly: true,
Expand Down Expand Up @@ -204,10 +199,10 @@ export const updateSchema = (
items: {
type: "number",
enum: representatives.map(
(representative: { id: any }) => representative.id,
(representative: { id: number }) => representative.id,
),
enumNames: representatives.map(
(representative: { representative_name: any }) =>
(representative: { representative_name: string }) =>
representative.representative_name,
),
},
Expand Down

0 comments on commit 8ba9038

Please sign in to comment.