Fixed tables
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user