mirror of
https://github.com/kestra-io/kestra.git
synced 2025-12-25 02:14:38 -05:00
refactor: remove unused Status component (#12287)
This commit is contained in:
committed by
GitHub
parent
918c026781
commit
df755361e1
@@ -1,25 +0,0 @@
|
||||
<template>
|
||||
<div class="d-flex align-items-center cursor-pointer">
|
||||
<div :style class="circle" />
|
||||
<span>{{ $filters.cap(status) }}</span>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import {computed} from "vue";
|
||||
|
||||
const props = defineProps({status: {type: String, required: true}});
|
||||
|
||||
const style = computed(() => ({
|
||||
backgroundColor: `var(--ks-chart-${props.status.toLowerCase()})`,
|
||||
}));
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.circle {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border-radius: 50%;
|
||||
margin-right: 8px;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user