diff --git a/web/src/components/repo/pipeline/PipelineStatusIcon.vue b/web/src/components/repo/pipeline/PipelineStatusIcon.vue index f80ef78d963..3df9d224d39 100644 --- a/web/src/components/repo/pipeline/PipelineStatusIcon.vue +++ b/web/src/components/repo/pipeline/PipelineStatusIcon.vue @@ -4,7 +4,7 @@ :title="$t('repo.pipeline.status.status', { status: $t(`repo.pipeline.status.${status}`) })" > - + {{ step.name }} @@ -128,7 +128,7 @@ import Icon from '~/components/atomic/Icon.vue'; import PipelineStatusIcon from '~/components/repo/pipeline/PipelineStatusIcon.vue'; import PipelineStepDuration from '~/components/repo/pipeline/PipelineStepDuration.vue'; import usePipeline from '~/compositions/usePipeline'; -import { Pipeline, PipelineStep } from '~/lib/api/types'; +import { Pipeline, PipelineStep, StepType } from '~/lib/api/types'; const props = defineProps<{ pipeline: Pipeline; diff --git a/web/src/components/repo/pipeline/pipeline-status.ts b/web/src/components/repo/pipeline/pipeline-status.ts index 5b444e115a7..34e54d920ae 100644 --- a/web/src/components/repo/pipeline/pipeline-status.ts +++ b/web/src/components/repo/pipeline/pipeline-status.ts @@ -12,16 +12,3 @@ export const pipelineStatusColors: Record = { - blocked: '', - declined: '', - error: '', - failure: '', - killed: '', - pending: '', - skipped: '', - running: 'animate-spin animate-slow', - started: 'animate-spin animate-slow', - success: '', -};