refactor: simplify product listing format in RowShareAction component for clearer shareable output
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Waiting to run
tests / ci (8.4) (push) Waiting to run
tests / ci (8.5) (push) Waiting to run

This commit is contained in:
Yoga Pangestu 2026-07-05 22:38:43 +07:00
parent 42d4bc05bc
commit 65c67f0bb9

View File

@ -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`;