-
{t('costs.split')}
- {shown.map(m => {
- const share = fmt(shareOf(e, m.user_id))
- return (
-
-
-
- {share}
- {m.paid ? : null}
-
-
- )
- })}
- {rest.length > 0 && (
-
t('costs.splitChipLabel', { name: personName(m.user_id), amount: fmt(shareOf(e, m.user_id)) })).join(', ')}>
- +{rest.length}
-
- )}
-
- )
- }
-
// A row's note as a pill that opens in place; an empty one keeps the column.
function NoteCell({ note, noteKey, color }: { note: string; noteKey: string; color: string }) {
if (!note) return