Skip to content

Commit

Permalink
Revert "PATCH: temporarily disable project deletion (#504)"
Browse files Browse the repository at this point in the history
This reverts commit d2c8c2f.
  • Loading branch information
NicolasRichel committed Jan 21, 2025
1 parent a7fc383 commit 8cf7f0e
Showing 1 changed file with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
color="high"
ghost
squared
@click="openWarningModal"
@click="openDeleteGuard"
>
{{ $t("t.delete") }}
</BIMDataButton>
Expand All @@ -82,11 +82,9 @@

<script>
import { provide, ref } from "vue";
import { useAppModal } from "../../../app/app-modal/app-modal.js";
import { useToggle } from "../../../../../composables/toggle.js";
import { useUser } from "../../../../../state/user.js";
// Components
import WarningModal from "../../../app/warning-modal/WarningModal.vue";
import ProjectCardDeleteGuard from "../project-card-delete-guard/ProjectCardDeleteGuard.vue";
import ProjectCardUpdateForm from "../project-card-update-form/ProjectCardUpdateForm.vue";
import ProjectCardLeaveGuard from "../project-card-leave-guard/ProjectCardLeaveGuard.vue";
Expand Down Expand Up @@ -149,11 +147,6 @@ export default {
emit("close");
};
const { openModal } = useAppModal();
const openWarningModal = () => {
openModal({ component: WarningModal });
};
return {
// References
loading,
Expand All @@ -170,7 +163,6 @@ export default {
openDeleteGuard,
openUpdateForm,
openLeaveGuard,
openWarningModal,
resetMenu,
toggleFavorite
};
Expand Down

0 comments on commit 8cf7f0e

Please sign in to comment.