mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Update src/routes/(public)/sites/deploy/+page.svelte
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
parent
a06ef10553
commit
263f4f3e66
@@ -87,8 +87,11 @@
|
||||
}
|
||||
} else {
|
||||
const project = projects.projects.find((p) => p.$id === selectedProject);
|
||||
const deployUrl = buildDeployUrl(project);
|
||||
await goto(deployUrl);
|
||||
if (!project) {
|
||||
addNotification({ type: 'error', message: 'Selected project not found' });
|
||||
return;
|
||||
}
|
||||
await goto(buildDeployUrl(project));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user