Skip to content

Commit

Permalink
fix prop provided to wrong component, removing redundant loading span
Browse files Browse the repository at this point in the history
Co-authored-by: David López <[email protected]>
  • Loading branch information
ahmedhamidawan and davelopez committed Dec 10, 2024
1 parent 4532464 commit 67f47bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const VegaWrapper = () => import("./VegaWrapper.vue");
interface Props {
invocationId: string;
terminal?: boolean;
notTerminal?: boolean;
}
const props = defineProps<Props>();
Expand Down Expand Up @@ -384,7 +384,7 @@ const groupByInTitles = computed(() => {

<template>
<div>
<BAlert v-if="!props.terminal" variant="warning" show>
<BAlert v-if="props.notTerminal" variant="warning" show>
<LoadingSpan message="Metrics will update and change as the workflow progresses." />
</BAlert>
<BContainer>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -360,16 +360,11 @@ async function onCancel() {
</BBadge>
</template>
<div v-if="invocationAndJobTerminal">
<WorkflowInvocationExportOptions
:invocation-id="invocation.id"
:terminal="invocationAndJobTerminal" />
<WorkflowInvocationExportOptions :invocation-id="invocation.id" />
</div>
<BAlert v-else variant="info" show>
<LoadingSpan message="Waiting to complete invocation" />
</BAlert>
</BTab>
<BTab title="Metrics" :lazy="true">
<WorkflowInvocationMetrics :invocation-id="invocation.id"></WorkflowInvocationMetrics>
<WorkflowInvocationMetrics :invocation-id="invocation.id" :not-terminal="!invocationAndJobTerminal" />
</BTab>
<template v-slot:tabs-end>
<BButton
Expand Down

0 comments on commit 67f47bf

Please sign in to comment.