Skip to content

Commit

Permalink
Fix [Monitor jobs] UI fails on show details (#2098)
Browse files Browse the repository at this point in the history
  • Loading branch information
mariana-furyk authored and ilan7empest committed Dec 4, 2023
1 parent 51cf51b commit f4c6e60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Datasets/datasets.util.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ export const generateActionsMenu = (
{
label: 'Delete',
icon: <Delete />,
disabled: !dataset.tag,
disabled: !dataset?.tag,
className: 'danger',
onClick: () =>
handleDeleteArtifact(
Expand Down
2 changes: 1 addition & 1 deletion src/components/Files/files.util.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ export const generateActionsMenu = (
{
label: 'Delete',
icon: <Delete />,
disabled: !file.tag,
disabled: !file?.tag,
className: 'danger',
onClick: () =>
handleDeleteArtifact(
Expand Down

0 comments on commit f4c6e60

Please sign in to comment.