We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b8c4e3 commit c188a74Copy full SHA for c188a74
src/custom/CustomCatalog/Helper.ts
@@ -61,7 +61,7 @@ export const handleImage = async ({
61
export const DEFAULT_DESIGN_VERSION = '0.0.0';
62
63
export const getVersion = (design: Pattern) => {
64
- if (design.visibility === 'public') {
+ if (design.visibility === 'published') {
65
return design?.catalog_data?.published_version || DEFAULT_DESIGN_VERSION;
66
}
67
try {
0 commit comments