|
|
@@ -383,24 +383,24 @@
|
|
|
</div>
|
|
|
{/if}
|
|
|
|
|
|
-<!-- <div in:fade class="overflow-x-auto mt-6 rounded-xl shadow">-->
|
|
|
-<!-- <table class="min-w-full bg-white dark:bg-gray-900 text-sm">-->
|
|
|
-<!-- <thead class="bg-gray-100 dark:bg-gray-700 text-gray-700 dark:text-gray-200">-->
|
|
|
-<!-- <tr>-->
|
|
|
-<!-- <th class="px-4 py-3 text-left font-semibold">Total Value</th>-->
|
|
|
-<!-- <th class="px-4 py-3 text-left font-semibold">Total Assets</th>-->
|
|
|
-<!-- </tr>-->
|
|
|
-<!-- </thead>-->
|
|
|
-<!-- <tbody>-->
|
|
|
-<!-- <tr class="border-t border-gray-200 dark:border-gray-700">-->
|
|
|
-<!-- <td class="px-4 py-3 font-semibold text-gray-800 dark:text-gray-100"-->
|
|
|
-<!-- >{formatCurrency(totalValue)}</td-->
|
|
|
-<!-- >-->
|
|
|
-<!-- <td class="px-4 py-3 font-semibold text-gray-800 dark:text-gray-100">{totalAssets}</td>-->
|
|
|
-<!-- </tr>-->
|
|
|
-<!-- </tbody>-->
|
|
|
-<!-- </table>-->
|
|
|
-<!-- </div>-->
|
|
|
+ <div in:fade class="overflow-x-auto mt-6 rounded-xl shadow">
|
|
|
+ <table class="min-w-full bg-white dark:bg-gray-900 text-sm">
|
|
|
+ <thead class="bg-gray-100 dark:bg-gray-700 text-gray-700 dark:text-gray-200">
|
|
|
+ <tr>
|
|
|
+ <th class="px-4 py-3 text-left font-semibold">Total Value</th>
|
|
|
+ <th class="px-4 py-3 text-left font-semibold">Total Assets</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody>
|
|
|
+ <tr class="border-t border-gray-200 dark:border-gray-700">
|
|
|
+ <td class="px-4 py-3 font-semibold text-gray-800 dark:text-gray-100"
|
|
|
+ >{formatCurrency(totalValue)}</td
|
|
|
+ >
|
|
|
+ <td class="px-4 py-3 font-semibold text-gray-800 dark:text-gray-100">{totalAssets}</td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
|
|
|
<!-- Portfolio Value History Chart -->
|
|
|
{#if portfolioId && authToken}
|