|
@@ -177,7 +177,7 @@ export function AssignSpoolModal({ isOpen, onClose, printerId, amsId, trayId, tr
|
|
|
<p className="text-xs text-bambu-gray">
|
|
<p className="text-xs text-bambu-gray">
|
|
|
{spool.color_name || ''}
|
|
{spool.color_name || ''}
|
|
|
{spool.label_weight ? ` - ${spool.label_weight}g` : ''}
|
|
{spool.label_weight ? ` - ${spool.label_weight}g` : ''}
|
|
|
- {spool.label_weight ? ` (${Math.max(0, Math.round(spool.label_weight - spool.weight_used))}g remaining)` : ''}
|
|
|
|
|
|
|
+ {spool.label_weight ? ` (${Math.max(0, Math.round(spool.label_weight - spool.weight_used))}g ${t('ams.remainingUnit')})` : ''}
|
|
|
</p>
|
|
</p>
|
|
|
</div>
|
|
</div>
|
|
|
{selectedSpoolId === spool.id && (
|
|
{selectedSpoolId === spool.id && (
|