Display project URLs in Overview tab #20
@ -70,6 +70,7 @@ const Configure = () => {
|
|||||||
maxPrice: DEFAULT_MAX_PRICE,
|
maxPrice: DEFAULT_MAX_PRICE,
|
||||||
lrn: '',
|
lrn: '',
|
||||||
numProviders: 1,
|
numProviders: 1,
|
||||||
|
variables: []
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -173,6 +174,7 @@ const Configure = () => {
|
|||||||
|
|
||||||
const handleFormSubmit = useCallback(
|
const handleFormSubmit = useCallback(
|
||||||
async (createFormData: FieldValues) => {
|
async (createFormData: FieldValues) => {
|
||||||
|
try {
|
||||||
const deployerLrn = createFormData.lrn;
|
const deployerLrn = createFormData.lrn;
|
||||||
const deployer = deployers.find(
|
const deployer = deployers.find(
|
||||||
(deployer) => deployer.deployerLrn === deployerLrn,
|
(deployer) => deployer.deployerLrn === deployerLrn,
|
||||||
@ -268,6 +270,15 @@ const Configure = () => {
|
|||||||
`/${orgSlug}/projects/create/deploy?projectId=${projectId}`,
|
`/${orgSlug}/projects/create/deploy?projectId=${projectId}`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
} catch (error) {
|
||||||
|
console.error(error)
|
||||||
|
toast({
|
||||||
|
id: 'error-deploying-app',
|
||||||
|
title: 'Error deploying app',
|
||||||
|
variant: 'error',
|
||||||
|
onDismiss: dismiss,
|
||||||
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
[client, createProject, dismiss, toast],
|
[client, createProject, dismiss, toast],
|
||||||
);
|
);
|
||||||
|
@ -134,7 +134,7 @@ export const AuctionCard = ({ project }: { project: Project }) => {
|
|||||||
size="xs"
|
size="xs"
|
||||||
type={fundsStatus ? 'positive' : 'emphasized'}
|
type={fundsStatus ? 'positive' : 'emphasized'}
|
||||||
>
|
>
|
||||||
{fundsStatus ? 'RELEASED' : 'LOCKED'}
|
{fundsStatus ? 'RELEASED' : 'WAITING'}
|
||||||
</Tag>
|
</Tag>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user