feat: add translation for runs table
This commit is contained in:
@@ -105,7 +105,7 @@ export const RunsTable: React.FC<RunsTableProps> = ({
|
||||
}));
|
||||
setRows(parsedRows);
|
||||
} else {
|
||||
notify('error', 'No runs found. Please try again.');
|
||||
notify('error', t('runstable.notifications.no_runs'));
|
||||
}
|
||||
};
|
||||
|
||||
@@ -118,7 +118,7 @@ export const RunsTable: React.FC<RunsTableProps> = ({
|
||||
|
||||
const handleDelete = () => {
|
||||
setRows([]);
|
||||
notify('success', 'Run deleted successfully');
|
||||
notify('success', t('runstable.notifications.delete_success'));
|
||||
fetchRuns();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user