Daniel Bohry 3 місяців тому
батько
коміт
f903ec80c4
1 змінених файлів з 18 додано та 18 видалено
  1. 18 18
      src/routes/portfolio/+page.svelte

+ 18 - 18
src/routes/portfolio/+page.svelte

@@ -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}