remove console log

This commit is contained in:
Georges-Antoine Assi committed 2025-02-16 13:12:13 -05:00
1 parent 8668714452
commit 1141cfbd8f
1 file changed
+3 -7
@@ -1,5 +1,5 @@
<script setup lang="ts">
const props = withDefaults(
withDefaults(
defineProps<{
slug: string;
name?: string;
@@ -9,17 +9,13 @@ const props = withDefaults(
}>(),
{ size: 40, rounded: 0 },
);
console.log(props);
</script>
<template>
<v-avatar :size="size" :rounded="rounded" :title="name || slug">
<v-img
:src="`/assets/platforms/${(props.fsSlug || props.slug).toLowerCase()}.ico`"
>
<v-img :src="`/assets/platforms/${(fsSlug || slug).toLowerCase()}.ico`">
<template #error>
<v-img :src="`/assets/platforms/${props.slug.toLowerCase()}.ico`">
<v-img :src="`/assets/platforms/${slug.toLowerCase()}.ico`">
<template #error>
<v-img src="/assets/platforms/default.ico"></v-img>
</template>