Display project URLs in Overview tab #20

Merged
nabarun merged 5 commits from nv-display-base-domain into main 2024-10-29 14:10:02 +00:00
2 changed files with 12 additions and 1 deletions
Showing only changes of commit 15eb505af4 - Show all commits

View File

@ -70,6 +70,7 @@ const Configure = () => {
maxPrice: DEFAULT_MAX_PRICE,
lrn: '',
numProviders: 1,
variables: []
},
});
@ -173,6 +174,7 @@ const Configure = () => {
const handleFormSubmit = useCallback(
async (createFormData: FieldValues) => {
try {
const deployerLrn = createFormData.lrn;
const deployer = deployers.find(
(deployer) => deployer.deployerLrn === deployerLrn,
@ -268,6 +270,15 @@ const Configure = () => {
`/${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],
);

View File

@ -134,7 +134,7 @@ export const AuctionCard = ({ project }: { project: Project }) => {
size="xs"
type={fundsStatus ? 'positive' : 'emphasized'}
>
{fundsStatus ? 'RELEASED' : 'LOCKED'}
{fundsStatus ? 'RELEASED' : 'WAITING'}
</Tag>
</div>
</div>