Files
TimeTracker/app
Dries Peeters a22919c51f Fix decorative image upload button not appearing after reselection
The properties panel used strict equality check (attrs.name === 'decorative-image')
which failed when the element name was modified (e.g., 'decorative-image element-overlap').
This caused the upload button to disappear when reselecting a decorative image
that wasn't uploaded immediately after creation.

Changed the check to use includes('decorative-image') to match the behavior
of the event listeners, ensuring the upload button always appears for
decorative image elements regardless of name modifications.

Fixes issue where users couldn't upload images to decorative image elements
after deselecting and reselecting them.
2026-01-22 14:14:40 +01:00
..