fix: кнопка 'Сохранить' → 'Сохранить изменения' после первого сохранения
This commit is contained in:
parent
158026b49f
commit
187ef90c96
|
|
@ -318,7 +318,7 @@ export const DriverShipmentPanel = ({ order, onShipmentChange, onSaveShipment, i
|
|||
}}
|
||||
disabled={isSavingShipment || shippedCount === 0}
|
||||
>
|
||||
{isSavingShipment ? "Сохраняем..." : "Сохранить отгрузку"}
|
||||
{isSavingShipment ? "Сохраняем..." : justSaved ? "Сохранить изменения" : "Сохранить"}
|
||||
</Button>
|
||||
{shippedCount > 0 && shippedCount < items.length && (
|
||||
<span className="text-xs text-[var(--color-text-muted)]">
|
||||
|
|
|
|||
Loading…
Reference in New Issue