Hi All,
I’m working on a customization where the setRollUpImage method in our component is responsible for setting an image path. Currently, it works for most cases, but in some situations rollUpImage is null because the primary source doesn’t return a value.
I want to add a fallback so that if the current logic doesn’t return a valid image, it should use delegate.getSrc() instead - without affecting the existing functionality.
What’s the best way to modify the method so it still respects the current logic but adds this fallback?