|
@@ -21,6 +21,7 @@ interface Props {
|
|
|
isDetectingBuildpacks: boolean;
|
|
isDetectingBuildpacks: boolean;
|
|
|
detectBuildpacksError: string;
|
|
detectBuildpacksError: string;
|
|
|
droppableId: string;
|
|
droppableId: string;
|
|
|
|
|
+ showFullBuildpackName?: boolean;
|
|
|
}
|
|
}
|
|
|
const BuildpackList: React.FC<Props> = ({
|
|
const BuildpackList: React.FC<Props> = ({
|
|
|
build,
|
|
build,
|
|
@@ -30,6 +31,7 @@ const BuildpackList: React.FC<Props> = ({
|
|
|
isDetectingBuildpacks,
|
|
isDetectingBuildpacks,
|
|
|
detectBuildpacksError,
|
|
detectBuildpacksError,
|
|
|
droppableId,
|
|
droppableId,
|
|
|
|
|
+ showFullBuildpackName = false,
|
|
|
}) => {
|
|
}) => {
|
|
|
const { control } = useFormContext<PorterAppFormData>();
|
|
const { control } = useFormContext<PorterAppFormData>();
|
|
|
const { remove, append, swap } = useFieldArray({
|
|
const { remove, append, swap } = useFieldArray({
|
|
@@ -100,6 +102,7 @@ const BuildpackList: React.FC<Props> = ({
|
|
|
index={index}
|
|
index={index}
|
|
|
draggable={false}
|
|
draggable={false}
|
|
|
key={`${buildpack.name}-${index}-available`}
|
|
key={`${buildpack.name}-${index}-available`}
|
|
|
|
|
+ showFullBuildpackName={showFullBuildpackName}
|
|
|
/>
|
|
/>
|
|
|
);
|
|
);
|
|
|
});
|
|
});
|
|
@@ -129,6 +132,7 @@ const BuildpackList: React.FC<Props> = ({
|
|
|
index={index}
|
|
index={index}
|
|
|
draggable={true}
|
|
draggable={true}
|
|
|
key={`${buildpack.name}-${index}-selected`}
|
|
key={`${buildpack.name}-${index}-selected`}
|
|
|
|
|
+ showFullBuildpackName={showFullBuildpackName}
|
|
|
/>
|
|
/>
|
|
|
))}
|
|
))}
|
|
|
{provided.placeholder}
|
|
{provided.placeholder}
|