mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 17:43:47 +00:00
fix: bulk progress log shows generic error instead of backend message
The live ProgressView log used entry.error (never sent by backend) instead of entry.message, falling back to a generic i18n string. Now checks entry.message first to display the actual error from the backend (e.g. "No subscription found").
This commit is contained in:
@@ -332,7 +332,7 @@ function ProgressView({ progress }: { progress: ProgressState }) {
|
||||
<span className={entry.success ? 'text-dark-300' : 'text-error-300'}>
|
||||
{entry.success
|
||||
? entry.message || t('admin.bulkActions.progress.ok')
|
||||
: entry.error || t('admin.bulkActions.progress.errorGeneric')}
|
||||
: entry.message || entry.error || t('admin.bulkActions.progress.errorGeneric')}
|
||||
</span>
|
||||
</div>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user