fix: кнопка 'Сохранить' → 'Сохранить изменения' после первого сохранения

This commit is contained in:
root 2026-06-15 16:29:20 +00:00
parent 158026b49f
commit 187ef90c96
1 changed files with 1 additions and 1 deletions

View File

@ -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)]">