mirror of
https://github.com/harness/drone.git
synced 2025-05-07 00:12:59 +00:00
feat: [AH-1020]: update artifact list actions column and remove artifact modification event from webhooks (#3557)
* feat: [AH-1020]: remove artifact modification from webhooks * feat: [AH-1020]: remove artifact and version actions for non oci types
This commit is contained in:
parent
51ebb0784a
commit
709077b51a
@ -28,6 +28,7 @@ import {
|
||||
ArtifactListPullCommandCell,
|
||||
ArtifactListVulnerabilitiesCell,
|
||||
ArtifactNameCell,
|
||||
ArtifactVersionActions,
|
||||
LatestArtifactCell
|
||||
} from './ArtifactListTableCell'
|
||||
import css from './ArtifactListTable.module.scss'
|
||||
@ -111,7 +112,7 @@ export default function ArtifactListTable(props: ArtifactListTableProps): JSX.El
|
||||
{
|
||||
Header: '',
|
||||
accessor: 'actions',
|
||||
Cell: LatestArtifactCell,
|
||||
Cell: ArtifactVersionActions,
|
||||
disableSortBy: true
|
||||
}
|
||||
].filter(Boolean) as unknown as Column<ArtifactMetadata>[]
|
||||
|
@ -25,6 +25,6 @@ interface TriggerLabelOption {
|
||||
|
||||
export const TriggerLabelOptions: TriggerLabelOption[] = [
|
||||
{ label: 'webhookList.triggers.artifactCreation', value: 'ARTIFACT_CREATION' },
|
||||
{ label: 'webhookList.triggers.artifactDeletion', value: 'ARTIFACT_DELETION' },
|
||||
{ label: 'webhookList.triggers.artifactModification', value: 'ARTIFACT_MODIFICATION' }
|
||||
{ label: 'webhookList.triggers.artifactDeletion', value: 'ARTIFACT_DELETION' }
|
||||
// { label: 'webhookList.triggers.artifactModification', value: 'ARTIFACT_MODIFICATION' }
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user