diff --git a/static/index.html b/static/index.html index 13b18d4..43231e3 100644 --- a/static/index.html +++ b/static/index.html @@ -4568,7 +4568,7 @@ headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(payload), }); - showToast('Asset created!'); + showSuccessFeedback('Asset created!'); document.getElementById('ocrCreateCard').style.display = 'none'; document.getElementById('ocrResult').style.display = 'none'; setOcrStatus('Ready — take another photo', 'success'); @@ -4874,7 +4874,7 @@ headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(payload), }); - showToast('Asset created!'); + showSuccessFeedback('Asset created!'); clearDraft(); AppState.currentAssetId = asset.id; autoCheckin(asset.id); @@ -6056,7 +6056,7 @@ headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(payload), }); - showToast('Asset updated!'); + showSuccessFeedback('Asset updated!'); viewAsset(AppState.currentAssetId); } catch (e) { showToast(e.message, true);