#default instead of v-slot
This commit is contained in:
@@ -21,7 +21,7 @@ withDefaults(defineProps<Props>(), {
|
||||
<img v-if="id" :src="`https://images.evetech.net/types/${id}/icon`" class="inline-block w-5 h-5 me-1" alt="" />
|
||||
<template v-if="name">
|
||||
{{ name }}
|
||||
<RouterLink :to="{ name: 'market-types', params: { type: id } }" custom v-slot="{ navigate }">
|
||||
<RouterLink :to="{ name: 'market-types', params: { type: id } }" custom #default="{ navigate }">
|
||||
<button class="btn-icon me-1" title="Show item info" @click="navigate">
|
||||
<InformationCircleIcon />
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user