update
This commit is contained in:
@@ -16,8 +16,8 @@ const color = computed(() => {
|
||||
|
||||
<template>
|
||||
<n-icon v-if="showIcon" :color="color">
|
||||
<Icon icon="ph:check" v-if="status === 'passed'"></Icon>
|
||||
<Icon icon="ph:minus" v-if="status === 'failed'"></Icon>
|
||||
<Icon icon="ph:check-bold" v-if="status === 'passed'"></Icon>
|
||||
<Icon icon="ph:minus-bold" v-if="status === 'failed'"></Icon>
|
||||
</n-icon>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -175,7 +175,7 @@ const columns: DataTableColumn<Submission["info"]["data"][number]>[] = [
|
||||
<n-icon
|
||||
:color="rule.passed ? theme.successColor : theme.errorColor"
|
||||
>
|
||||
<Icon :icon="rule.passed ? 'ph:check' : 'ph:x-bold'" />
|
||||
<Icon :icon="rule.passed ? 'ph:check-bold' : 'ph:x-bold'" />
|
||||
</n-icon>
|
||||
<span>{{ rule.description }}</span>
|
||||
</n-flex>
|
||||
|
||||
Reference in New Issue
Block a user