Skip to content

Commit

Permalink
WorkflowListActions: delete unused codes in
Browse files Browse the repository at this point in the history
  • Loading branch information
itisAliRH committed Dec 12, 2023
1 parent 3e24305 commit d2dbacb
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions client/src/components/Workflow/WorkflowListActions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,13 @@
import { library } from "@fortawesome/fontawesome-svg-core";
import { faPlus, faUpload } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
import { BButton, BModal } from "bootstrap-vue";
import { ref } from "vue";
import { BButton } from "bootstrap-vue";
import { useRouter } from "vue-router/composables";
import WorkflowCreate from "@/components/Workflow/WorkflowCreate.vue";
library.add(faPlus, faUpload);
const router = useRouter();
const showCreateModal = ref(false);
function navigateToImport() {
router.push("/workflows/import");
}
Expand All @@ -33,7 +28,6 @@ function navigateToOldCreate() {
title="Create new workflow"
variant="outline-primary"
@click="navigateToOldCreate">
<!-- @click="showCreateModal = !showCreateModal"> -->
<FontAwesomeIcon :icon="faPlus" />
Create
</BButton>
Expand All @@ -49,13 +43,5 @@ function navigateToOldCreate() {
Import
</BButton>
</div>

<BModal v-model="showCreateModal" hide-footer centered>
<template v-slot:modal-title>
<h4 class="modal-title">Create new workflow</h4>
</template>

<WorkflowCreate modal-view />
</BModal>
</div>
</template>

0 comments on commit d2dbacb

Please sign in to comment.