feat: polish alpine shell feedback
This commit is contained in:
@@ -369,7 +369,9 @@ document.addEventListener('alpine:init', function() {
|
||||
}).filter(Boolean))).sort();
|
||||
this.stats = computeStats(this.operations);
|
||||
} catch (error) {
|
||||
alert(error.message || 'Failed to delete operation');
|
||||
if (window.CrankUi) {
|
||||
window.CrankUi.error(error.message || 'Failed to delete operation', 'Delete failed');
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user