change text of boursemes"
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
<script lang="ts" setup>
|
||||
import icons from '@/components/BasicPacks/tools/icons/icons.json'
|
||||
import {usePrefix} from "@/utils/usePrefix";
|
||||
import {resolveProjectColor} from "@/utils/config";
|
||||
import {computed, onMounted, ref, withDefaults, defineProps} from "vue";
|
||||
|
||||
interface Props {
|
||||
@@ -28,7 +29,7 @@ const tempIcon = ref<string>()
|
||||
const refIcon = ref<HTMLDivElement>()
|
||||
tempIcon.value = icons[`${props.icon}`] as string
|
||||
const color = computed(() => {
|
||||
return props.color
|
||||
return resolveProjectColor(props.color)
|
||||
})
|
||||
|
||||
onMounted(() => {
|
||||
|
||||
Reference in New Issue
Block a user