Skip to content

Commit

Permalink
Fix [UI] Bytes Artifact fails to show in "Preview" tab 1.2.1 (#1574)
Browse files Browse the repository at this point in the history
  • Loading branch information
illia-prokopchuk committed Dec 29, 2022
1 parent 9a62f89 commit f9d9a61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/createArtifactPreviewContent.js
Expand Up @@ -75,7 +75,7 @@ export const createArtifactPreviewContent = (res, fileFormat, path, artifactName

if (path && artifactName) {
artifact.data = {
content: `Preview is not available for this artifact type. Go to ${path} to retrieve the data, or use mlrun api/sdk project.get_artifact(${artifactName}’).show()`
content: `Preview is not available for this artifact type. Go to ${path} to retrieve the data, or use mlrun api/sdk project.get_artifact('${artifactName}').to_dataitem().get()`
}
}
}
Expand Down

0 comments on commit f9d9a61

Please sign in to comment.