mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 07:49:41 +02:00
feat(helm): helm actions [r8s-259] (#715)
Co-authored-by: James Player <james.player@portainer.io> Co-authored-by: Cara Ryan <cara.ryan@portainer.io> Co-authored-by: stevensbkang <skan070@gmail.com>
This commit is contained in:
parent
dfa32b6755
commit
4ee349bd6b
117 changed files with 4161 additions and 696 deletions
|
@ -1,5 +1,6 @@
|
|||
import { Event } from 'kubernetes-types/core/v1';
|
||||
import { History } from 'lucide-react';
|
||||
import { ReactNode } from 'react';
|
||||
|
||||
import { IndexOptional } from '@/react/kubernetes/configs/types';
|
||||
import { TableSettings } from '@/react/kubernetes/datatables/DefaultDatatableSettings';
|
||||
|
@ -16,6 +17,8 @@ type Props = {
|
|||
isLoading: boolean;
|
||||
'data-cy': string;
|
||||
noWidget?: boolean;
|
||||
title?: ReactNode;
|
||||
titleIcon?: ReactNode;
|
||||
};
|
||||
|
||||
export function EventsDatatable({
|
||||
|
@ -24,6 +27,8 @@ export function EventsDatatable({
|
|||
isLoading,
|
||||
'data-cy': dataCy,
|
||||
noWidget,
|
||||
title = 'Events',
|
||||
titleIcon = History,
|
||||
}: Props) {
|
||||
return (
|
||||
<Datatable<IndexOptional<Event>>
|
||||
|
@ -31,8 +36,8 @@ export function EventsDatatable({
|
|||
columns={columns}
|
||||
settingsManager={tableState}
|
||||
isLoading={isLoading}
|
||||
title="Events"
|
||||
titleIcon={History}
|
||||
title={title}
|
||||
titleIcon={titleIcon}
|
||||
getRowId={(row) => row.metadata?.uid || ''}
|
||||
disableSelect
|
||||
renderTableSettings={() => (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue