feat: polish alpine shell feedback

This commit is contained in:
a.tolmachev
2026-03-31 12:32:05 +03:00
parent 84f4437ce0
commit 4d91ccf48f
16 changed files with 366 additions and 30 deletions
+3 -1
View File
@@ -1179,7 +1179,9 @@ async function saveOperation(stayOnPage) {
try {
await persistCurrentDraft(stayOnPage);
} catch (error) {
alert(error.message || 'Failed to save operation');
if (window.CrankUi) {
window.CrankUi.error(error.message || 'Failed to save operation', 'Save failed');
}
}
}