mirror of
https://github.com/portainer/portainer.git
synced 2025-07-20 05:49:40 +02:00
fix(ui/datatables): make empty table label consistent [EE-6499] (#11612)
This commit is contained in:
parent
02fbdfec36
commit
b7cde35c3d
56 changed files with 45 additions and 93 deletions
|
@ -41,13 +41,11 @@ const columns = [
|
|||
export function EdgeGroupAssociationTable({
|
||||
title,
|
||||
query,
|
||||
emptyContentLabel,
|
||||
onClickRow,
|
||||
'data-cy': dataCy,
|
||||
}: {
|
||||
title: string;
|
||||
query: EnvironmentsQueryParams;
|
||||
emptyContentLabel: string;
|
||||
onClickRow: (env: Environment) => void;
|
||||
} & AutomationTestingProps) {
|
||||
const tableState = useTableStateWithoutStorage('Name');
|
||||
|
@ -97,7 +95,6 @@ export function EdgeGroupAssociationTable({
|
|||
onClick={() => onClickRow(row.original)}
|
||||
/>
|
||||
)}
|
||||
emptyContentLabel={emptyContentLabel}
|
||||
data-cy={dataCy}
|
||||
disableSelect
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue