feat: add success toast notification after metadata update completion

This commit is contained in:
Will Miao
2025-08-15 09:43:16 +08:00
parent 199e374318
commit d3903ac655

View File

@@ -435,7 +435,9 @@ export class BaseModelApiClient {
}
await operationComplete;
resetAndReload(false);
showToast('Metadata update complete', 'success');
} catch (error) {
console.error('Error fetching metadata:', error);
showToast('Failed to fetch metadata: ' + error.message, 'error');