Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ts ci errors #767

Merged
merged 1 commit into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ui/src/components/CustomField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ type CustomFieldNameProps = {
variant?: "textarea" | "input" | "select" | "multiselect" | "switch";
style?: CSSProperties;
options?: Array<{ label: string; value: any }>;
placeholder?: string;
};

export const CustomFieldName = ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const getColumns: (
},
{
header: "Platform User",
accessorKey: "",
accessorKey: "id",
cell: ({ row }) =>
platformUsersIdSet.has(row?.original?.id) ? <CheckCircledIcon /> : null,
},
Expand All @@ -50,7 +50,6 @@ export const getColumns: (
day: "numeric",
year: "numeric",
}),

footer: (props) => props.column.id,
},
];
Expand Down
3 changes: 2 additions & 1 deletion ui/src/containers/products.create/features-fields.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export const FeatureFields = ({
isMulti
value={methods.getValues("features")}
placeholder="select multiple features"
data-test-id="multiple-features-select"
onChange={(data: any) =>
field.onChange(
data.map((d: any) => ({
Expand All @@ -75,7 +76,7 @@ export const FeatureFields = ({
}))
)
}
options={features}
options={features as any}
/>
)}
control={methods.control}
Expand Down
Loading