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