fix
This commit is contained in:
@@ -47,7 +47,6 @@ const headers = [
|
||||
{ key: 'start_time', title: 'Start Time' },
|
||||
{ key: 'end_time', title: 'End Time' },
|
||||
{ key: 'duration', title: 'Duration' },
|
||||
{ title: 'Actions', key: 'profile' }, // Add this line
|
||||
];
|
||||
|
||||
function totalCallDuration(start_time, end_time) {
|
||||
@@ -111,11 +110,6 @@ const historyDetail = (item, value) => {
|
||||
if(value == 'prescription')
|
||||
router.push('/admin/patient/meeting/prescription/' + route.params.id + '/' + item.id);
|
||||
}
|
||||
const viewProfile = (item) => {
|
||||
console.log('Viewing profile for', item);
|
||||
// Navigate to the profile page (modify the route as per your application structure)
|
||||
router.push('/admin/providers/patientprofile/' + item.patient_id);
|
||||
}
|
||||
|
||||
const menusVariant = [
|
||||
'primary'
|
||||
@@ -164,10 +158,6 @@ const options = [
|
||||
>
|
||||
<template #item.id="{ item }">{{ item.id }}</template>
|
||||
<template #item.duration="{ item }">{{ item.duration }}</template>
|
||||
<!-- Profile Button -->
|
||||
<template #item.profile="{ item }">
|
||||
<v-btn class="text-capitalize text-white" @click="viewProfile(item)">Profile</v-btn>
|
||||
</template>
|
||||
<!-- Actions -->
|
||||
<template #item.actions="{ item }">
|
||||
<div class="demo-space-x">
|
||||
|
Reference in New Issue
Block a user