Fix boursecu asset info modals with per-product copper breakdown.

Show total product wallet sum alongside the clicked product inventory in readable multi-line modals on mobile and desktop.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-16 10:51:55 +03:30
co-authored by Cursor
parent 31caa8cca7
commit 17e4f14e46
4 changed files with 208 additions and 37 deletions
@@ -94,7 +94,7 @@ const props = withDefaults(
)
const emit = defineEmits<{
openGoldModal: [metal: WalletMetalTotal, modalText?: string]
openGoldModal: [metal: WalletMetalTotal, modalText?: string, modalTitle?: string, modalContent?: string]
openRialModal: []
}>()
@@ -136,7 +136,7 @@ function handleRowInfo(row: HomeAssetRow) {
}
if (row.metal) {
emit('openGoldModal', row.metal, row.modalText)
emit('openGoldModal', row.metal, row.modalText, row.modalTitle, row.modalContent)
}
}
</script>