[Vuejs]-Vue.js select image if one exists 11 October 2023 by thecoderscamp.com 0👍 why don’t you try ternary: companyLogo ? ‘logo-image-url’ : ‘mdi-home’ [Vuejs]-Flattening multiple reactive arrays looses the reactivity (Array.flat()) Source:stackexchange.com