Skip to content

Commit

Permalink
Use router link in workflow run form
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed May 11, 2024
1 parent 20cd463 commit 921c1b4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions client/src/components/Workflow/Run/WorkflowRun.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<script setup lang="ts">
import { BAlert } from "bootstrap-vue";
import { computed, onMounted, ref, watch } from "vue";
import { RouterLink } from "vue-router";
import { useHistoryItemsStore } from "@/stores/historyItemsStore";
import { useHistoryStore } from "@/stores/historyStore";
Expand Down Expand Up @@ -132,10 +133,10 @@ watch(
:invocations="invocations"
:workflow-name="workflowName" />
<div v-else class="ui-form-composite">
<BAlert v-if="hasUpgradeMessages || hasStepVersionChanges" class="mb-4" variant="warning" show>
<BAlert v-if="!hasUpgradeMessages || hasStepVersionChanges" class="mb-4" variant="warning" show>
The <b>`{{ workflowName }}`</b> workflow may contain tools which have changed since it was last
saved or some error have been detected. Please
<a :to="editorLink" :href="editorLink">click here to edit and review the issues</a> before running
<RouterLink :to="editorLink">click here to edit and review the issues</RouterLink> before running
this workflow.
</BAlert>
<div v-else>
Expand Down

0 comments on commit 921c1b4

Please sign in to comment.