Skip to content

feat: remove item.type limitation for image-upload#367

Open
Morgy93 wants to merge 1 commit intoSnowdogApps:developfrom
Morgy93:feat/#335
Open

feat: remove item.type limitation for image-upload#367
Morgy93 wants to merge 1 commit intoSnowdogApps:developfrom
Morgy93:feat/#335

Conversation

@Morgy93
Copy link
Copy Markdown

@Morgy93 Morgy93 commented Apr 24, 2025

Removes restrictions on item types for image uploads to enhance flexibility.

Refs: #335

return this.templateOptionsData[this.item['type']] || [];
},
showImage() {
return ['category', 'product', 'custom_url'].includes(this.item.type);
Copy link
Copy Markdown
Contributor

@kruchy8 kruchy8 May 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was limited because there is no <img> tags in templates of remaining types. To merge the request please add it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants