I am trying to modify a table entry in one of my Dashboard 2 tables that uses V-Slots to use the url value on @Click to open a new browser window with the url.
Here is the template:
<template v-slot:item.servicename="{ item }" v-slot:item.websiteurl="{ item }">
<v-chip :color="getChipColor(item)" @click="navigateToRoute(item.websiteurl)">
{{ item.servicename }}
</v-chip>
</template>
Here is navigateToRoute method:
navigateToRoute() {
this.$router.push(item.websiteurl);
},
When I click on the V-Chip object the icon indicates it was clicked but the url does not open. I appreciate your advice.
Regards