Conditional rendering only works for first element of the array

welcome to shbcf.ru