Fixed tables

This commit is contained in:
2025-11-10 18:01:07 +01:00
parent 0f941b7174
commit cfdd1e633d
2 changed files with 20 additions and 0 deletions

View File

@@ -631,6 +631,16 @@ const DashboardView = ({
))}
</tr>
))}
{configTable.getRowModel().rows.length === 0 && (
<tr>
<td
className="px-4 py-6 text-center text-sm text-gray-500"
colSpan={configTable.getHeaderGroups()?.[0]?.headers.length || 1}
>
Keine Einträge gefunden. Filter zurücksetzen oder Suchbegriff anpassen.
</td>
</tr>
)}
</tbody>
</table>
</div>

View File

@@ -756,6 +756,16 @@ const StoreWatchPage = ({ authorizedFetch, knownStores = [], userLocation }) =>
))}
</tr>
))}
{table.getRowModel().rows.length === 0 && (
<tr>
<td
className="px-4 py-6 text-center text-sm text-gray-500"
colSpan={table.getHeaderGroups()?.[0]?.headers.length || 1}
>
Keine Betriebe entsprechen den aktuellen Filtern.
</td>
</tr>
)}
</tbody>
</table>
</div>