Skip to content

Commit

Permalink
remove workflow running spinner from invocation view
Browse files Browse the repository at this point in the history
since the progress bars already indicate that
  • Loading branch information
ahmedhamidawan committed Nov 21, 2024
1 parent 5a17e0c commit b04aa3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 2 additions & 4 deletions client/src/components/Workflow/WorkflowNavigationTitle.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { faEdit, faSitemap, faSpinner, faUpload } from "@fortawesome/free-solid-svg-icons";
import { faEdit, faSitemap, faUpload } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
import { BAlert, BButton, BButtonGroup } from "bootstrap-vue";
import { storeToRefs } from "pinia";
Expand Down Expand Up @@ -28,7 +28,6 @@ interface Props {
workflowId: string;
runDisabled?: boolean;
runWaiting?: boolean;
invocationRunning?: boolean;
success?: boolean;
}
Expand Down Expand Up @@ -104,8 +103,7 @@ const workflowImportTitle = computed(() => {
<div class="d-flex portlet-header align-items-center">
<div class="flex-grow-1" data-description="workflow heading">
<div class="px-1">
<FontAwesomeIcon v-if="props.invocationRunning" :icon="faSpinner" spin />
<FontAwesomeIcon v-else :icon="faSitemap" />
<FontAwesomeIcon :icon="faSitemap" />
<b class="mx-1">
{{ props.invocation ? "Invoked " : "" }}Workflow: {{ getWorkflowName() }}
</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@ function cancelWorkflowSchedulingLocal() {
v-if="props.isFullPage"
:invocation="invocation"
:workflow-id="invocation.workflow_id"
:invocation-running="!invocationAndJobTerminal"
:success="props.success">
<template v-slot:workflow-title-actions>
<BButton
Expand Down

0 comments on commit b04aa3a

Please sign in to comment.