refactor(tender-details): enhance translation and summary features
- Integrated language selection and translation functionality in TenderDetails, allowing users to choose display language and translate tender metadata. - Added AI summary section to display overall summary of the tender. - Updated API service to support translation requests and handle responses effectively. - Improved pagination handling in AdminsTable for better user experience. - Refactored various components to ensure consistent data flow and state management.
This commit is contained in:
@@ -34,6 +34,7 @@ const useTenderListPresenter = () => {
|
||||
...apiDefaultParams,
|
||||
offset: 0,
|
||||
limit: 10,
|
||||
lang: "en",
|
||||
};
|
||||
for (const [key, value] of searchParams.entries()) {
|
||||
newParams[key] = value;
|
||||
@@ -73,6 +74,7 @@ const useTenderListPresenter = () => {
|
||||
error,
|
||||
isPending,
|
||||
setParams,
|
||||
params,
|
||||
data,
|
||||
pathName,
|
||||
isModalOpen,
|
||||
|
||||
Reference in New Issue
Block a user