1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 13:29:41 +02:00

fix(ui/datatables): make empty table label consistent [EE-6499] (#11612)

This commit is contained in:
Chaim Lev-Ari 2024-06-02 12:29:20 +03:00 committed by GitHub
parent 02fbdfec36
commit b7cde35c3d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
56 changed files with 45 additions and 93 deletions

View file

@ -55,7 +55,6 @@ export function ApplicationContainersDatatable() {
podsQuery.isLoading ||
useServerMetricsQuery.isLoading
}
emptyContentLabel="No containers found"
title="Application containers"
titleIcon={Server}
getRowId={(row) => row.podName} // use pod name because it's unique (name is not unique)

View file

@ -64,7 +64,6 @@ export function PlacementsDatatable({
/>
</TableSettingsMenu>
)}
emptyContentLabel="No node available."
renderSubRow={(row) => (
<SubRow node={row.original} cellCount={row.getVisibleCells().length} />
)}

View file

@ -70,7 +70,6 @@ export function ApplicationsStacksDatatable({
<SubRows stack={row.original} span={row.getVisibleCells().length} />
)}
noWidget
emptyContentLabel="No stack available."
description={
<div className="w-full">
<div className="float-right mr-2 min-w-[140px]">