do not delete project from cloud

This commit is contained in:
Nikita Galaiko 2023-05-08 07:50:43 +02:00
parent b635b83b30
commit b3aff720df

View File

@ -91,10 +91,6 @@
const onDeleteClicked = () =>
Promise.resolve()
.then(() => (isDeleting = true))
.then(() => {
if ($user && $project.api)
api.projects.delete($user?.access_token, $project.api.repository_id);
})
.then(() => project.delete())
.then(() => deleteConfirmationDialog.close())
.catch((e) => {