I am looking to merge the following database structure into a string:
list : [
{
Qte : 5,
Detail : 'A',
},
{
Qte : 1,
Detail : 'B',
},
],
The desired output would be:
This.mydetail = '5 x A , 1 x B';
I attempted to achieve this in vuejs using the code below:
{{ list.join(' , ') }}
However, this approach did not work for me. Can anyone provide guidance on how to solve this issue? Thank you.