mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-22 06:15:47 +00:00
fix(FE): delete console log debug
This commit is contained in:
@@ -118,8 +118,6 @@ const DashboardProduction = () => {
|
||||
} as DashboardFilterType,
|
||||
validationSchema: getDashboardFilterSchema(analysisMode),
|
||||
onSubmit: (values) => {
|
||||
console.log(values);
|
||||
|
||||
handleApplyFilter({
|
||||
start_date: values.startDate || '',
|
||||
end_date: values.endDate || '',
|
||||
@@ -139,8 +137,6 @@ const DashboardProduction = () => {
|
||||
};
|
||||
|
||||
const handleApplyFilter = (values: DashboardFilter) => {
|
||||
console.log(values);
|
||||
|
||||
// Build query params object, only include non-empty values
|
||||
const params: Record<string, string> = {};
|
||||
|
||||
@@ -156,7 +152,6 @@ const DashboardProduction = () => {
|
||||
if (values.comparison_type) params.comparison_type = values.comparison_type;
|
||||
|
||||
setEndpointUrl(`/dashboards?${new URLSearchParams(params).toString()}`);
|
||||
console.log(endpointUrl);
|
||||
filterModal.closeModal();
|
||||
refreshDashboardProductionData();
|
||||
};
|
||||
|
||||
@@ -557,15 +557,12 @@ const ProjectFlockForm = ({
|
||||
};
|
||||
|
||||
const onDeleteBudgetRowHandler = (nonstock_id: number, index?: number) => {
|
||||
console.log(`nonstock_id: ${nonstock_id}, index: ${index}`);
|
||||
if (!nonstock_id) {
|
||||
const updatedBudgets = formik.values.project_budgets
|
||||
.map((budget, i) => {
|
||||
if (i == index) {
|
||||
console.log(`buget: ${null}, index: ${index}, i: ${i}`);
|
||||
return null;
|
||||
} else {
|
||||
console.log(`buget: ${budget}, index: ${index}, i: ${i}`);
|
||||
return budget;
|
||||
}
|
||||
})
|
||||
|
||||
@@ -168,7 +168,7 @@ const DailyMarketingsTable = ({
|
||||
];
|
||||
|
||||
useEffect(() => {
|
||||
console.log({ sorting });
|
||||
// console.log({ sorting });
|
||||
|
||||
if (sorting.length === 1) {
|
||||
onFilterByChange(sorting[0].id);
|
||||
|
||||
Reference in New Issue
Block a user