Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing bugs jan 2025 #100

Merged
merged 2 commits into from
Jan 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ src/flask_session/
nb/cache/
src/cache/


frontend/yarn.lock
# Uncomment if you're using Poetry
# poetry.lock
Expand All @@ -115,3 +116,15 @@ frontend/yarn.lock
# Uncomment if you're using PDM
# pdm.lock
# .pdm.toml
ts_2024/abr_2024.timesheet
ts_2024/ago_2024.timesheet
ts_2024/dez_2024.timesheet
ts_2024/fev_2024.timesheet
ts_2024/jan_2024.timesheet
ts_2024/jul_2024.timesheet
ts_2024/jun_2024.timesheet
ts_2024/mai_2024.timesheet
ts_2024/mar_2024.timesheet
ts_2024/nov_2024.timesheet
ts_2024/out_2024.timesheet
ts_2024/set_2024.timesheet
3 changes: 3 additions & 0 deletions backend/models/src/omni_models/syntactic/pipedrive/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ def _fetch_all(self, entity, params=None):
data = self.__fetch(entity, start, params)
if data is None or 'data' not in data:
break
if data['data'] is None:
break

all_data.extend(data['data'])

if not self.__has_next_page(data):
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/about-us/deals/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ export default function DealsPage() {
acc.push({ clientName, deals: [deal] });
}
return acc;
}, []).sort((a, b) => a.clientName.localeCompare(b.clientName));
}, []).sort((a, b) => a.clientName?.localeCompare(b.clientName));
};

const groupedProspects = groupDeals(prospects);
Expand Down
Loading