This commit is contained in:
@@ -51,7 +51,7 @@ const props = defineProps<Props>()
|
||||
</div>
|
||||
|
||||
<!-- Policy Details -->
|
||||
<div v-if="task.task_info?.policy_details">
|
||||
<div v-if="task.task_info?.insured_object">
|
||||
<h3 class="text-xs font-semibold text-gray-500 uppercase mb-2">Policy Details</h3>
|
||||
<div class="border rounded-lg overflow-hidden">
|
||||
<table class="w-full text-sm">
|
||||
@@ -62,7 +62,7 @@ const props = defineProps<Props>()
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="divide-y divide-gray-200">
|
||||
<tr v-for="(value, key) in task.task_info.policy_details" :key="key">
|
||||
<tr v-for="(value, key) in task.task_info.insured_object" :key="key">
|
||||
<td class="px-3 py-2 text-gray-600 font-medium capitalize">{{ key.replace(/_/g, ' ') }}</td>
|
||||
<td class="px-3 py-2 text-gray-900">{{ value || '—' }}</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user