refactor: simplify product listing format in RowShareAction component for clearer shareable output
This commit is contained in:
parent
42d4bc05bc
commit
65c67f0bb9
@ -44,11 +44,7 @@ const whatsappText = computed(() => {
|
||||
productNames.add(productName);
|
||||
});
|
||||
|
||||
text += `\n*Hasil Produk:*\n`;
|
||||
|
||||
Array.from(productNames).forEach((name, index) => {
|
||||
text += `${index + 1}. ${name}\n`;
|
||||
});
|
||||
text += `\nNama Produk: ${Array.from(productNames).join(', ')}\n`;
|
||||
}
|
||||
|
||||
text += `\nTotal Hasil Cutting: ${c.total_result_pieces ?? 0} pcs\n`;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user